mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 11:47:43 +03:00
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 <zhang.chaoyu@zte.com.cn> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #5002
This commit is contained in:
committed by
Brian Behlendorf
parent
e623aea2ec
commit
43cb1c1212
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user