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).
This commit is contained in:
Enji Cooper 2016-09-18 03:00:46 +00:00
parent 4cd99b4dae
commit b3e63e7a5e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=305913

View File

@ -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