diff options
author | ChaoyuZhang <[email protected]> | 2016-08-17 08:57:25 +0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-08-18 13:00:11 -0700 |
commit | 5a5170884a6131c9f4346dd130d50a945d425853 (patch) | |
tree | 598a3491aec50bba1a8ec7f67d9f17be0fc7e035 | |
parent | 32d41fb73a0d04a1d864e7602595b4c6e0d16c10 (diff) |
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 <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #4978
-rwxr-xr-x | tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_009_neg.ksh | 2 | ||||
-rwxr-xr-x | tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_010_neg.ksh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_009_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_009_neg.ksh index 114419179..ed8195c94 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_009_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_009_neg.ksh @@ -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 diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_010_neg.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_010_neg.ksh index 1f10b9c08..b54203dd3 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_010_neg.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_010_neg.ksh @@ -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 |