summaryrefslogtreecommitdiffstats
path: root/tests/zfs-tests
diff options
context:
space:
mode:
authorChaoyuZhang <[email protected]>2016-08-22 10:27:06 +0800
committerBrian Behlendorf <[email protected]>2016-08-30 15:29:27 -0700
commit43cb1c1212be430f1a94307ac8be1737ca564e58 (patch)
treee5b14a3034958975785bee196d5bbafc81b58693 /tests/zfs-tests
parente623aea2ec11b4e3da8ddec50634be6e0be14eaf (diff)
Update zfs_create_003_pos.ksh and zfs_create_006_pos.ksh
As the scripts zfs_create_003_pos.ksh and zfs_create_006_pos.ksh can run successfully in the linux, add them to the <linux.run> file to increase test scene. Signed-off-by: ChaoyuZhang <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #5002
Diffstat (limited to 'tests/zfs-tests')
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_003_pos.ksh2
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_006_pos.ksh4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_003_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_003_pos.ksh
index bffe8cda4..dbb380e72 100755
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_003_pos.ksh
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_003_pos.ksh
@@ -62,7 +62,7 @@ while (( i < ${#options[*]} )); do
datasetexists $vol || \
log_fail "zfs create ${options[i]} -V $VOLSIZE $vol fail."
- log_must $ZFS destroy -f $vol
+ log_must_busy $ZFS destroy -f $vol
((i = i + 1))
done
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_006_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_006_pos.ksh
index e47b06444..20a44cee7 100755
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_006_pos.ksh
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_006_pos.ksh
@@ -67,7 +67,7 @@ while (( $i < ${#RW_VOL_PROP[*]} )); do
log_fail "zfs create -V size $TESTPOOL/$TESTVOL1 fail."
propertycheck $TESTPOOL/$TESTVOL1 ${RW_VOL_PROP[i]} || \
log_fail "${RW_VOL_PROP[i]} is failed to set."
- log_must $ZFS destroy -f $TESTPOOL/$TESTVOL1
+ log_must_busy $ZFS destroy -f $TESTPOOL/$TESTVOL1
log_must $ZFS create -s -o ${RW_VOL_PROP[$i]} -V $VOLSIZE \
$TESTPOOL/$TESTVOL1
@@ -75,7 +75,7 @@ while (( $i < ${#RW_VOL_PROP[*]} )); do
log_fail "zfs create -s -V $TESTPOOL/$TESTVOL1 fail."
propertycheck $TESTPOOL/$TESTVOL1 ${RW_VOL_PROP[i]} || \
log_fail "${RW_VOL_PROP[i]} is failed to set."
- log_must $ZFS destroy -f $TESTPOOL/$TESTVOL1
+ log_must_busy $ZFS destroy -f $TESTPOOL/$TESTVOL1
(( i = i + 1 ))
done