Skip to content

Commit

Permalink
ZTS: Fix add-o_ashift.ksh
Browse files Browse the repository at this point in the history
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 openzfs#10426
  • Loading branch information
ikozhukhov authored and RageLtMan committed May 31, 2021
1 parent ebd9093 commit 03c3f89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ typeset badvals=("off" "on" "1" "8" "17" "1b" "ff" "-")
for badval in ${badvals[@]}
do
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
log_must zpool destroy $TESTPOOL
log_must zpool labelclear $disk1
Expand Down

0 comments on commit 03c3f89

Please sign in to comment.