aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2016-09-03 17:31:13 +0000
committerEnji Cooper <ngie@FreeBSD.org>2016-09-03 17:31:13 +0000
commit46f4fe1eb8690708938f3d15b560260308c94c8c (patch)
treee0dca65787cf0146ffee09ee8405b1c5b1c5040d /tests
parent6f0c70d446a748018b9d640926261ed953dab46d (diff)
downloadsrc-46f4fe1eb8690708938f3d15b560260308c94c8c.tar.gz
src-46f4fe1eb8690708938f3d15b560260308c94c8c.zip
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
Notes
Notes: svn path=/head/; revision=305356
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/acl/04.sh1
1 files changed, 1 insertions, 0 deletions
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