mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 01:51:00 +03:00
ZTS: Fix add-o_ashift.ksh
Use option '-o' after action for compatibility Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Igor Kozhukhov <igor@dilos.org> Closes #10426
This commit is contained in:
parent
b7654bd794
commit
6722be2823
@ -75,7 +75,7 @@ typeset badvals=("off" "on" "1" "8" "17" "1b" "ff" "-")
|
|||||||
for badval in ${badvals[@]}
|
for badval in ${badvals[@]}
|
||||||
do
|
do
|
||||||
log_must zpool create $TESTPOOL $disk1
|
log_must zpool create $TESTPOOL $disk1
|
||||||
log_mustnot zpool add $TESTPOOL -o ashift="$badval" $disk2
|
log_mustnot zpool add -o ashift="$badval" $TESTPOOL $disk2
|
||||||
# clean things for the next run
|
# clean things for the next run
|
||||||
log_must zpool destroy $TESTPOOL
|
log_must zpool destroy $TESTPOOL
|
||||||
log_must zpool labelclear $disk1
|
log_must zpool labelclear $disk1
|
||||||
|
Loading…
Reference in New Issue
Block a user