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
|
# 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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue