svn commit: r344259 - stable/12/sbin/bectl/tests

Kyle Evans kevans at FreeBSD.org
Mon Feb 18 16:11:13 UTC 2019


Author: kevans
Date: Mon Feb 18 16:11:11 2019
New Revision: 344259
URL: https://svnweb.freebsd.org/changeset/base/344259

Log:
  MFC r343543: bectl(8) test: Force destroy the zpool in cleanup
  
  This is a wild guess as to why bectl tests failed once upon a time in CI,
  given no apparent way to see a transcript of cleanup routines with Kyua. The
  bectl tests construct a new, clean zpool for every test. The failure
  indicated was because of a mount that was leftover from a previous test, but
  the previous test had succeeded so it's not clear how the mount remained
  leftover unless the `zpool get health ${pool}` had somehow failed.

Modified:
  stable/12/sbin/bectl/tests/bectl_test.sh
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sbin/bectl/tests/bectl_test.sh
==============================================================================
--- stable/12/sbin/bectl/tests/bectl_test.sh	Mon Feb 18 16:03:48 2019	(r344258)
+++ stable/12/sbin/bectl/tests/bectl_test.sh	Mon Feb 18 16:11:11 2019	(r344259)
@@ -62,7 +62,7 @@ bectl_cleanup()
 	zpool=$1
 
 	if zpool get health ${zpool} >/dev/null 2>&1; then
-		zpool destroy ${zpool}
+		zpool destroy -f ${zpool}
 	fi
 }
 


More information about the svn-src-all mailing list