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
This commit is contained in:
Enji Cooper 2016-09-03 17:31:13 +00:00
parent 6f0c70d446
commit 46f4fe1eb8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305356

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