From 46f4fe1eb8690708938f3d15b560260308c94c8c Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sat, 3 Sep 2016 17:31:13 +0000 Subject: [PATCH] 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 --- 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 ff1d3cb080bb..917f5acb54a5 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