summaryrefslogtreecommitdiffstats
path: root/tests/runfiles/linux.run
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2016-08-30 18:56:36 -0700
committerBrian Behlendorf <[email protected]>2016-08-31 14:32:46 -0700
commit9d69e9b268a1a0af3117871608fd3a87db1ce586 (patch)
tree67d43a30782de28e802b965291ce1800238abba4 /tests/runfiles/linux.run
parent3f10fe07d645166d7513448feedd8e3ef3111a12 (diff)
Fix zhack argument processing
The argument processing is zhack makes the assumption that getopt() will not permute argv. This isn't true for the GNU implementation of getopt() unless the optstring is prefixed with a '+'. In which case this is equivalent to setting the POSIXLY_CORRECT environment variable In addition, update the usage() and optstrings to reflect the existing supported options. Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: liaoyuxiangqin <[email protected]> Closes #5047
Diffstat (limited to 'tests/runfiles/linux.run')
-rw-r--r--tests/runfiles/linux.run3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run
index 5685ea21b..783eef94f 100644
--- a/tests/runfiles/linux.run
+++ b/tests/runfiles/linux.run
@@ -295,7 +295,6 @@ 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_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',
@@ -303,7 +302,7 @@ tests = ['zpool_import_001_pos', 'zpool_import_002_pos',
'zpool_import_009_neg', 'zpool_import_010_pos', 'zpool_import_011_neg',
'zpool_import_013_neg',
'zpool_import_features_001_pos', 'zpool_import_features_002_neg',
- 'zpool_import_missing_001_pos',
+ 'zpool_import_features_003_pos','zpool_import_missing_001_pos',
'zpool_import_missing_002_pos', 'zpool_import_missing_003_pos',
'zpool_import_rename_001_pos']