mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
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:
parent
4cd99b4dae
commit
b3e63e7a5e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=305913
@ -50,6 +50,7 @@ MNT=`mktemp -dt acltools`
|
|||||||
zpool create -m $MNT acltools /dev/$MD
|
zpool create -m $MNT acltools /dev/$MD
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "not ok 1 - 'zpool create' failed."
|
echo "not ok 1 - 'zpool create' failed."
|
||||||
|
echo 'Bail out!'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user