summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-09-18 02:56:16 +0000
committerngie <ngie@FreeBSD.org>2016-09-18 02:56:16 +0000
commitf685bd63634a5c9b1b9468a0a1a1153c42a4cb9b (patch)
treecb14f04bb1e5fb8db4908c9ad9f2edc9c06181fe /tests
parent5550ace9d317c4f33cff6a896360ccdbad6b2819 (diff)
downloadFreeBSD-src-f685bd63634a5c9b1b9468a0a1a1153c42a4cb9b.zip
FreeBSD-src-f685bd63634a5c9b1b9468a0a1a1153c42a4cb9b.tar.gz
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')
-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