mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 01:51:00 +03:00
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:
parent
32d41fb73a
commit
5a5170884a
@ -76,7 +76,7 @@ function cleanup
|
||||
#
|
||||
# new fs created during the test, cleanup it
|
||||
#
|
||||
if [[ $found == "false" ]]; then
|
||||
if [[ $found == "true" ]]; then
|
||||
log_must $ZFS destroy -f $dset
|
||||
fi
|
||||
done
|
||||
|
@ -77,7 +77,7 @@ function cleanup
|
||||
#
|
||||
# new fs created during the test, cleanup it
|
||||
#
|
||||
if [[ $found == "false" ]]; then
|
||||
if [[ $found == "true" ]]; then
|
||||
log_must $ZFS destroy -f $dset
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user