summaryrefslogtreecommitdiffstats
path: root/tests/sys
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-09-18 03:00:46 +0000
committerngie <ngie@FreeBSD.org>2016-09-18 03:00:46 +0000
commite07bfeff01c7091947812ac9c586c4a0cb9e1f73 (patch)
treea06cd3db75122fdeeb3a7cc05a696770ef8be409 /tests/sys
parent5eea13f3b8db5559faf8f18172cacb670d8b8338 (diff)
downloadFreeBSD-src-e07bfeff01c7091947812ac9c586c4a0cb9e1f73.zip
FreeBSD-src-e07bfeff01c7091947812ac9c586c4a0cb9e1f73.tar.gz
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).
Diffstat (limited to 'tests/sys')
-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 ff1d3cb..917f5ac 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
OpenPOWER on IntegriCloud