summaryrefslogtreecommitdiffstats
path: root/tests/runfiles
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2016-03-17 15:32:33 -0700
committerBrian Behlendorf <[email protected]>2016-03-21 10:20:02 -0700
commit505d9655c9e759a145b4812c654c51c34dbe3425 (patch)
tree7ad9dfd11ce94dd597a72b61c6d1563e55f6208b /tests/runfiles
parentfc0c72b1670156622af26562030e84bd56d4cdfb (diff)
Fix zdb -e and zhack thread_init()
This issue was caused by calling `thread_init()` and `thread_fini()` multiple times resulting in `kthread_key` being invalid. To resolve the issue the explicit calls to `thread_init()` and `thread_fini()` required by the `zpool` command have been moved in to the command. Consumers such as `zdb` and `zhack` perform the same initialized through `kernel_init()` and `kernel_fini()`. Resolving this issue allows multiple additional test cases to be enabled. Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: Signed-off-by: Chunwei Chen <[email protected]> Signed-off-by: Tim Chase <[email protected]> Closes #4331
Diffstat (limited to 'tests/runfiles')
-rw-r--r--tests/runfiles/linux.run30
1 files changed, 14 insertions, 16 deletions
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run
index ea982c328..013897189 100644
--- a/tests/runfiles/linux.run
+++ b/tests/runfiles/linux.run
@@ -301,19 +301,17 @@ tests = ['zpool_history_001_neg', 'zpool_history_002_pos']
# DISABLED:
# zpool_import_012_pos - sharenfs issue
# zpool_import_all_001_pos - partition issue
-# zpool_import_features_001_pos - zhack issue
-# zpool_import_features_002_neg - zhack issue
-# zpool_import_features_003_pos - zhack issue
-# zpool_import_missing_001_pos - zhack_issue
-# zpool_import_missing_002_pos - zhack_issue
-# zpool_import_missing_003_pos - zhack_issue
-# zpool_import_rename_001_pos - hack issue
+# zpool_import_features_003_pos - zhack: invalid option -- 'r'
[tests/functional/cli_root/zpool_import]
tests = ['zpool_import_001_pos', 'zpool_import_002_pos',
'zpool_import_003_pos', 'zpool_import_004_pos', 'zpool_import_005_pos',
'zpool_import_006_pos', 'zpool_import_007_pos', 'zpool_import_008_pos',
'zpool_import_009_neg', 'zpool_import_010_pos', 'zpool_import_011_neg',
- 'zpool_import_013_neg']
+ 'zpool_import_013_neg',
+ 'zpool_import_features_001_pos', 'zpool_import_features_002_neg',
+ 'zpool_import_missing_001_pos',
+ 'zpool_import_missing_002_pos', 'zpool_import_missing_003_pos',
+ 'zpool_import_rename_001_pos']
[tests/functional/cli_root/zpool_offline]
tests = ['zpool_offline_001_pos', 'zpool_offline_002_neg']
@@ -486,11 +484,12 @@ tests = ['nestedfs_001_pos']
[tests/functional/no_space]
tests = ['enospc_001_pos']
-# DISABLED: needs investigation (CentOS 7 only)
-#[tests/functional/nopwrite]
-#tests = ['nopwrite_copies', 'nopwrite_mtime', 'nopwrite_negative',
-# 'nopwrite_promoted_clone', 'nopwrite_recsize', 'nopwrite_sync',
-# 'nopwrite_volume', 'nopwrite_varying_compression']
+# DISABLED:
+# nopwrite_varying_compression - needs investigation
+[tests/functional/nopwrite]
+tests = ['nopwrite_copies', 'nopwrite_mtime', 'nopwrite_negative',
+ 'nopwrite_promoted_clone', 'nopwrite_recsize', 'nopwrite_sync',
+ 'nopwrite_volume']
# DISABLED: needs investigation
#[tests/functional/online_offline]
@@ -536,9 +535,8 @@ tests = ['refreserv_001_pos', 'refreserv_002_pos', 'refreserv_003_pos',
#[tests/functional/rename_dirs]
#tests = ['rename_dirs_001_pos']
-# DISABLED: nested pool
-#[tests/functional/replacement]
-#tests = ['replacement_001_pos', 'replacement_002_pos']
+[tests/functional/replacement]
+tests = ['replacement_001_pos', 'replacement_002_pos', 'replacement_003_pos']
# DISABLED:
# reservation_012_pos - needs investigation