Update zfs_create_(009,010)_neg.ksh

Just cleanup the new fs created during the test, so the "$found"
should be "true".

Signed-off-by: ChaoyuZhang <zhang.chaoyu@zte.com.cn>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4978
This commit is contained in:
ChaoyuZhang 2016-08-17 08:57:25 +08:00 committed by Brian Behlendorf
parent 32d41fb73a
commit 5a5170884a
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ function cleanup
# #
# new fs created during the test, cleanup it # new fs created during the test, cleanup it
# #
if [[ $found == "false" ]]; then if [[ $found == "true" ]]; then
log_must $ZFS destroy -f $dset log_must $ZFS destroy -f $dset
fi fi
done done

View File

@ -77,7 +77,7 @@ function cleanup
# #
# new fs created during the test, cleanup it # new fs created during the test, cleanup it
# #
if [[ $found == "false" ]]; then if [[ $found == "true" ]]; then
log_must $ZFS destroy -f $dset log_must $ZFS destroy -f $dset
fi fi
done done