You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
testouterr_cmd_re sh {load output/1.0} ERR [escre [msg_load output/1.0 [msg_moderr {Missing value for '--output' option} {module unload --not-req --output bar<EXM>} $mp/output/1.0 3]]]
137
137
138
138
setenv_var TESTSUITE_OUTPUT_INMODFILE 20
139
-
testouterr_cmd_re sh {load output/1.0} ERR [escre [msg_load output/1.0 [msg_moderr "Invalid element in value list for '--output' option on avail sub-command\nAllowed elements are: modulepath alias dirwsym sym tag key variant variantifspec (separated by ':')" {module avail --output=header foo/1.0<EXM>} $mp/output/1.0 3]]]
139
+
testouterr_cmd_re sh {load output/1.0} ERR [escre [msg_load output/1.0 [msg_moderr "Invalid element in value list for '--output' option on avail sub-command\nAllowed elements are: modulepath alias dirwsym indesym sym tag key variant variantifspec (separated by ':')" {module avail --output=header foo/1.0<EXM>} $mp/output/1.0 3]]]
140
140
setenv_var TESTSUITE_OUTPUT_INMODFILE 21
141
-
testouterr_cmd_re sh {load output/1.0} ERR [escre [msg_load output/1.0 [msg_moderr "Invalid element in value list for '-o' option on avail sub-command\nAllowed elements are: modulepath alias dirwsym sym tag key variant variantifspec (separated by ':')" {module avail -o sym,alias foo/1.0<EXM>} $mp/output/1.0 3]]]
141
+
testouterr_cmd_re sh {load output/1.0} ERR [escre [msg_load output/1.0 [msg_moderr "Invalid element in value list for '-o' option on avail sub-command\nAllowed elements are: modulepath alias dirwsym indesym sym tag key variant variantifspec (separated by ':')" {module avail -o sym,alias foo/1.0<EXM>} $mp/output/1.0 3]]]
testouterr_cmd sh {load output/1.0} ERR [msg_load output/1.0 [msg_moderr {Missing value for '--output' option} {module unload --not-req --output bar} $mp/output/1.0 15]]
166
166
167
167
setenv_var TESTSUITE_OUTPUT_INMODFILE 20
168
-
testouterr_cmd sh {load output/1.0} ERR [msg_load output/1.0 [msg_moderr "Invalid element in value list for '--output' option on avail sub-command\nAllowed elements are: modulepath alias dirwsym sym tag key variant variantifspec (separated by ':')" {module avail --output=header foo/1.0} $mp/output/1.0 24]]
168
+
testouterr_cmd sh {load output/1.0} ERR [msg_load output/1.0 [msg_moderr "Invalid element in value list for '--output' option on avail sub-command\nAllowed elements are: modulepath alias dirwsym indesym sym tag key variant variantifspec (separated by ':')" {module avail --output=header foo/1.0} $mp/output/1.0 24]]
169
169
setenv_var TESTSUITE_OUTPUT_INMODFILE 21
170
-
testouterr_cmd sh {load output/1.0} ERR [msg_load output/1.0 [msg_moderr "Invalid element in value list for '-o' option on avail sub-command\nAllowed elements are: modulepath alias dirwsym sym tag key variant variantifspec (separated by ':')" {module avail -o sym,alias foo/1.0} $mp/output/1.0 25]]
170
+
testouterr_cmd sh {load output/1.0} ERR [msg_load output/1.0 [msg_moderr "Invalid element in value list for '-o' option on avail sub-command\nAllowed elements are: modulepath alias dirwsym indesym sym tag key variant variantifspec (separated by ':')" {module avail -o sym,alias foo/1.0} $mp/output/1.0 25]]
171
171
}
172
172
173
173
unsetenv_var TESTSUITE_OUTPUT_INMODFILE
@@ -224,6 +224,38 @@ testouterr_cmd_re sh {avail foo/1.0} OK "$modlin $mpre $modlin\nfoo/1.0 "
224
224
unsetenv_var MODULES_AVAIL_OUTPUT
225
225
226
226
227
+
#
228
+
# indesym test
229
+
#
230
+
231
+
set tserr_avail_foo "foo/1.0\\(bar\\) "
232
+
testouterr_cmd_re sh {avail -o modulepath:key:indesym foo/1.0} OK "$modlin $mpre $modlin\nfoo/1.0 "
233
+
testouterr_cmd_re sh {avail -o modulepath:key:sym:indesym foo/1.0} OK "$modlin $mpre $modlin\nfoo/1.0 "
234
+
testouterr_cmd_re sh {avail -w 120 -o modulepath:key:indesym foo} OK "$modlin $mpre $modlin\nfoo/0.2 foo/0.err foo/0.load foo/0.prereq foo/1.0 foo/2.0 foo/bar foo/sym "
235
+
testouterr_cmd_re sh {avail -w 120 -o modulepath:key:indesym foo/bar} OK "$modlin $mpre $modlin\nfoo/bar "
236
+
testouterr_cmd_re sh {avail -w 120 -o modulepath:key:indesym:sym foo/bar} OK "$modlin $mpre $modlin\nfoo/bar "
237
+
setenv_var MODULES_AVAIL_TERSE_OUTPUT key:indesym
238
+
testouterr_cmd sh {avail -t foo/bar} OK "foo/bar"
239
+
testouterr_cmd sh {avail -t foo/1.0} OK "foo/1.0"
240
+
unsetenv_var MODULES_AVAIL_TERSE_OUTPUT
241
+
setenv_path_var MODULEPATH $modpath.2
242
+
testouterr_cmd_re sh {avail -w 120 -o modulepath:key:dirwsym:indesym hide3/sub2} OK "$modlin $modpathre.2 $modlin\nhide3/sub2/4.0 hide3/sub2/5.0 hide3/sub2/default hide3/sub2/new hide3/sub2/sym "
243
+
testouterr_cmd_re sh {avail -w 120 -o modulepath:key:indesym hide3/sub2} OK "$modlin $modpathre.2 $modlin\nhide3/sub2/4.0 hide3/sub2/5.0 hide3/sub2/default hide3/sub2/new hide3/sub2/sym "
244
+
testouterr_cmd_re sh {avail -w 120 -o modulepath:key:dirwsym:indesym hide3/sym} OK "$modlin $modpathre.2 $modlin\nhide3/sym "
245
+
testouterr_cmd_re sh {avail -w 120 -o modulepath:key:indesym hide3/sym} OK "$modlin $modpathre.2 $modlin\nhide3/sym "
246
+
testouterr_cmd_re sh {avail -w 120 -o modulepath:key:indesym hide3/sub2/default} OK "$modlin $modpathre.2 $modlin\nhide3/sub2/default "
247
+
testouterr_cmd_re sh {avail -w 120 -o modulepath:key:indesym hide3/sub2/4.0} OK "$modlin $modpathre.2 $modlin\nhide3/sub2/4.0 "
248
+
testouterr_cmd_re sh {avail -w 120 -o modulepath:key:sym:indesym hide3/sub2/default} OK "$modlin $modpathre.2 $modlin\nhide3/sub2/default "
249
+
testouterr_cmd_re sh {avail -w 120 -o modulepath:key:indesym:sym hide3/sub2/4.0} OK "$modlin $modpathre.2 $modlin\nhide3/sub2/4.0 "
0 commit comments