From b66b59c427d36e6abad7ab168e5f7907afed2f49 Mon Sep 17 00:00:00 2001 From: ngie Date: Sun, 18 Sep 2016 03:00:46 +0000 Subject: [PATCH] MFstable/11 r305912: 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). git-svn-id: svn://svn.freebsd.org/base/stable/10@305913 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- tests/sys/acl/04.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/sys/acl/04.sh b/tests/sys/acl/04.sh index ff1d3cb08..917f5acb5 100644 --- a/tests/sys/acl/04.sh +++ b/tests/sys/acl/04.sh @@ -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 -- 2.45.0