svn commit: r305356 - head/tests/sys/acl
Ngie Cooper
ngie at FreeBSD.org
Sat Sep 3 17:31:15 UTC 2016
Author: ngie
Date: Sat Sep 3 17:31:13 2016
New Revision: 305356
URL: https://svnweb.freebsd.org/changeset/base/305356
Log:
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).
MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division
Modified:
head/tests/sys/acl/04.sh
Modified: head/tests/sys/acl/04.sh
==============================================================================
--- head/tests/sys/acl/04.sh Sat Sep 3 17:23:24 2016 (r305355)
+++ head/tests/sys/acl/04.sh Sat Sep 3 17:31:13 2016 (r305356)
@@ -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-head
mailing list