From a6d6b4ebb70cde77e6e48509e6d28cf8e0f6bed6 Mon Sep 17 00:00:00 2001 From: Igor Kozhukhov Date: Wed, 27 Nov 2019 03:53:37 +0300 Subject: [PATCH] fix attach-o_ashift.ksh for multiplatforms Signed-off-by: Igor Kozhukhov --- .../tests/functional/cli_root/zpool_attach/attach-o_ashift.ksh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_attach/attach-o_ashift.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_attach/attach-o_ashift.ksh index fd33fb9506a9..3c3706ff390c 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_attach/attach-o_ashift.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_attach/attach-o_ashift.ksh @@ -92,7 +92,7 @@ typeset badvals=("off" "on" "1" "8" "17" "1b" "ff" "-") for badval in ${badvals[@]} do log_must zpool create $TESTPOOL1 $disk1 - log_mustnot zpool attach $TESTPOOL1 -o ashift=$badval $disk1 $disk2 + log_mustnot zpool attach -o ashift=$badval $TESTPOOL1 $disk1 $disk2 log_must zpool destroy $TESTPOOL1 log_must zpool labelclear $disk1 log_mustnot zpool labelclear $disk2