Skip to content

Commit 6722be2

Browse files
authored
ZTS: Fix add-o_ashift.ksh
Use option '-o' after action for compatibility Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Igor Kozhukhov <[email protected]> Closes #10426
1 parent b7654bd commit 6722be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/zfs-tests/tests/functional/cli_root/zpool_add/add-o_ashift.ksh

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ typeset badvals=("off" "on" "1" "8" "17" "1b" "ff" "-")
7575
for badval in ${badvals[@]}
7676
do
7777
log_must zpool create $TESTPOOL $disk1
78-
log_mustnot zpool add $TESTPOOL -o ashift="$badval" $disk2
78+
log_mustnot zpool add -o ashift="$badval" $TESTPOOL $disk2
7979
# clean things for the next run
8080
log_must zpool destroy $TESTPOOL
8181
log_must zpool labelclear $disk1

0 commit comments

Comments
 (0)