diff options
author | Igor K <[email protected]> | 2020-06-09 20:31:16 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-09 10:31:16 -0700 |
commit | 6722be2823b5ef39d647e440541806c72b3dbf9b (patch) | |
tree | e2e53eb17f690ec6730d0d4db00013905ac0c535 /tests | |
parent | b7654bd7940618f1b02835d565e04920c8c4403f (diff) |
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
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/zfs-tests/tests/functional/cli_root/zpool_add/add-o_ashift.ksh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_add/add-o_ashift.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_add/add-o_ashift.ksh index f975beccc..d9ae88e07 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_add/add-o_ashift.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_add/add-o_ashift.ksh @@ -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 |