svn commit: r305912 - stable/11/tests/sys/acl

Ngie Cooper ngie at FreeBSD.org
Sun Sep 18 02:56:17 UTC 2016


Author: ngie
Date: Sun Sep 18 02:56:16 2016
New Revision: 305912
URL: https://svnweb.freebsd.org/changeset/base/305912

Log:
  MFC r305356:
  
  Add a missing "Bail out!" if zpool create fails
  
  This will make the exit info more meaningful if/when zpool create fails,
  and establishes parity with the other 2 zfs acl testcases (01, 03).

Modified:
  stable/11/tests/sys/acl/04.sh
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/tests/sys/acl/04.sh
==============================================================================
--- stable/11/tests/sys/acl/04.sh	Sun Sep 18 02:51:18 2016	(r305911)
+++ stable/11/tests/sys/acl/04.sh	Sun Sep 18 02:56:16 2016	(r305912)
@@ -50,6 +50,7 @@ MNT=`mktemp -dt acltools`
 zpool create -m $MNT acltools /dev/$MD
 if [ $? -ne 0 ]; then
 	echo "not ok 1 - 'zpool create' failed."
+	echo 'Bail out!'
 	exit 1
 fi
 


More information about the svn-src-all mailing list