]> git.proxmox.com Git - mirror_zfs.git/blobdiff - tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_010_pos.ksh
Add ashift validation when adding devices to a pool
[mirror_zfs.git] / tests / zfs-tests / tests / functional / cli_root / zpool_add / zpool_add_010_pos.ksh
index b8b25db1b9f92eaa3b6d65f692c685c5d3a0cc81..22860e9caf1d74a940fe6378d3b3650e1fe13482 100755 (executable)
@@ -138,7 +138,7 @@ function zpool_create_forced_add
                while ((j < ${#add_args[@]})); do
                        log_must zpool create $TESTPOOL1 ${create_args[$i]}
                        log_mustnot zpool add $TESTPOOL1 ${add_args[$j]}
-                       log_must zpool add -f $TESTPOOL1 ${add_args[$j]}
+                       log_must zpool add --allow-replication-mismatch $TESTPOOL1 ${add_args[$j]}
                        log_must zpool destroy -f $TESTPOOL1
 
                        ((j += 1))