aboutsummaryrefslogtreecommitdiffstats
path: root/tests/runfiles
diff options
context:
space:
mode:
authorAttila Fülöp <[email protected]>2020-12-04 23:04:39 +0100
committerGitHub <[email protected]>2020-12-04 14:04:39 -0800
commit0cb40fa38903298b7af2b1084e8228b2c8315c4e (patch)
tree6ce40a229058baa2cb1fcb3fcd517f59cbceb6f9 /tests/runfiles
parent4b6e2a5a33957af806b708723f32b83dbafce326 (diff)
zpool: Dryrun fails to list some devices
`zpool create -n` fails to list cache and spare vdevs. `zpool add -n` fails to list spare devices. `zpool split -n` fails to list `special` and `dedup` labels. `zpool add -n` and `zpool split -n` shouldn't list hole devices. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Attila Fülöp <[email protected]> Closes #11122 Closes #11167
Diffstat (limited to 'tests/runfiles')
-rw-r--r--tests/runfiles/common.run7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run
index d6077e292..d8345f62b 100644
--- a/tests/runfiles/common.run
+++ b/tests/runfiles/common.run
@@ -318,7 +318,7 @@ tags = ['functional', 'cli_root', 'zpool']
tests = ['zpool_add_001_pos', 'zpool_add_002_pos', 'zpool_add_003_pos',
'zpool_add_004_pos', 'zpool_add_006_pos', 'zpool_add_007_neg',
'zpool_add_008_neg', 'zpool_add_009_neg', 'zpool_add_010_pos',
- 'add-o_ashift', 'add_prop_ashift']
+ 'add-o_ashift', 'add_prop_ashift', 'zpool_add_dryrun_output']
tags = ['functional', 'cli_root', 'zpool_add']
[tests/functional/cli_root/zpool_attach]
@@ -345,7 +345,7 @@ tests = ['zpool_create_001_pos', 'zpool_create_002_pos',
'zpool_create_features_001_pos', 'zpool_create_features_002_pos',
'zpool_create_features_003_pos', 'zpool_create_features_004_neg',
'zpool_create_features_005_pos',
- 'create-o_ashift', 'zpool_create_tempname']
+ 'create-o_ashift', 'zpool_create_tempname', 'zpool_create_dryrun_output']
tags = ['functional', 'cli_root', 'zpool_create']
[tests/functional/cli_root/zpool_destroy]
@@ -462,7 +462,8 @@ tags = ['functional', 'cli_root', 'zpool_set']
[tests/functional/cli_root/zpool_split]
tests = ['zpool_split_cliargs', 'zpool_split_devices',
'zpool_split_encryption', 'zpool_split_props', 'zpool_split_vdevs',
- 'zpool_split_resilver', 'zpool_split_indirect']
+ 'zpool_split_resilver', 'zpool_split_indirect',
+ 'zpool_split_dryrun_output']
tags = ['functional', 'cli_root', 'zpool_split']
[tests/functional/cli_root/zpool_status]