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
#
# new fs created during the test, cleanup it
#
- if [[ $found == "false" ]]; then
+ if [[ $found == "true" ]]; then
log_must $ZFS destroy -f $dset
fi
done
#
# new fs created during the test, cleanup it
#
- if [[ $found == "false" ]]; then
+ if [[ $found == "true" ]]; then
log_must $ZFS destroy -f $dset
fi
done