forked from envmodules/modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ts: adapt tests for held not found module error message
- Loading branch information
1 parent
6e89a61
commit 390a5f7
Showing
2 changed files
with
20 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,14 +117,14 @@ lappend ans [list set __MODULES_LMPREREQ "space ye/1.0&sp.ce|[email protected]<2.7|baz @<1" | |
lappend ans [list set _LMFILES_ "$mp/baz/1:$mp/space ye/1.0"] | ||
lappend ans [list set LOADEDMODULES "baz/1:space ye/1.0"] | ||
lappend ans [list set __MODULES_LMTAG "baz/1&auto-loaded"] | ||
testouterr_cmd_re sh {load --auto space\ [email protected]} $ans [msg_top_load {'space ye/1.0'} {} baz/1 {} $err_path'sp.ce' $err_path'y\\[email protected]:2.7'] | ||
testouterr_cmd_re sh {load --auto space\ [email protected]} $ans [msg_top_load {'space ye/1.0'} {} baz/1 {}] | ||
|
||
set ans [list] | ||
lappend ans [list set __MODULES_LMPREREQ "space ye/1.1&sp.ce|y+ @2.5<2.7|baz @<1"] | ||
lappend ans [list set _LMFILES_ "$mp/baz/1:$mp/space ye/1.1"] | ||
lappend ans [list set LOADEDMODULES "baz/1:space ye/1.1"] | ||
lappend ans [list set __MODULES_LMTAG "baz/1&auto-loaded"] | ||
testouterr_cmd_re sh {load --auto space\ [email protected]} $ans [msg_top_load {'space ye/1.1'} {} baz/1 {} $err_path'sp.ce' "$err_path'y\\+ @2.5:2.7'"] | ||
testouterr_cmd_re sh {load --auto space\ [email protected]} $ans [msg_top_load {'space ye/1.1'} {} baz/1 {}] | ||
|
||
set ans [list] | ||
lappend ans [list set __MODULES_LMPREREQ "space ye/1.2&{sp.ce y+} @2.5<2.7|baz @<1"] | ||
|
@@ -191,14 +191,14 @@ lappend ans [list set __MODULES_LMPREREQ "space ye/1.0&sp.ce|[email protected]<2.7|baz @<1" | |
lappend ans [list set _LMFILES_ "$mp/sp.ce y+/2.7:$mp/baz/1:$mp/space ye/1.0"] | ||
lappend ans [list set LOADEDMODULES "sp.ce y+/2.7:baz/1:space ye/1.0"] | ||
lappend ans [list set __MODULES_LMTAG "baz/1&auto-loaded"] | ||
testouterr_cmd_re sh {load --auto space\ [email protected]} $ans [msg_top_load {'space ye/1.0'} {} baz/1 {} $err_path'sp.ce' $err_path'y\\[email protected]:2.7'] | ||
testouterr_cmd_re sh {load --auto space\ [email protected]} $ans [msg_top_load {'space ye/1.0'} {} baz/1 {}] | ||
|
||
set ans [list] | ||
lappend ans [list set __MODULES_LMPREREQ "space ye/1.1&sp.ce|y+ @2.5<2.7|baz @<1"] | ||
lappend ans [list set _LMFILES_ "$mp/sp.ce y+/2.7:$mp/baz/1:$mp/space ye/1.1"] | ||
lappend ans [list set LOADEDMODULES "sp.ce y+/2.7:baz/1:space ye/1.1"] | ||
lappend ans [list set __MODULES_LMTAG "baz/1&auto-loaded"] | ||
testouterr_cmd_re sh {load --auto space\ [email protected]} $ans [msg_top_load {'space ye/1.1'} {} baz/1 {} $err_path'sp.ce' "$err_path'y\\+ @2.5:2.7'"] | ||
testouterr_cmd_re sh {load --auto space\ [email protected]} $ans [msg_top_load {'space ye/1.1'} {} baz/1 {}] | ||
|
||
set ans [list] | ||
lappend ans [list set __MODULES_LMPREREQ "space ye/1.2&{sp.ce y+} @2.5<2.7|baz @<1"] | ||
|
@@ -753,14 +753,14 @@ lappend ans [list set __MODULES_LMPREREQ "space ye/1.0&sp.ce|[email protected]<2.7|baz|@<1" | |
lappend ans [list set _LMFILES_ "$mp/baz/2:$mp/space ye/1.0"] | ||
lappend ans [list set LOADEDMODULES "baz/2:space ye/1.0"] | ||
lappend ans [list set __MODULES_LMTAG "baz/2&auto-loaded"] | ||
testouterr_cmd_re sh {load --auto space\ ye/1.0} $ans [msg_top_load {'space ye/1.0'} {} baz/2 {} $err_path'sp.ce' $err_path'y\\[email protected]:2.7'] | ||
testouterr_cmd_re sh {load --auto space\ ye/1.0} $ans [msg_top_load {'space ye/1.0'} {} baz/2 {}] | ||
|
||
set ans [list] | ||
lappend ans [list set __MODULES_LMPREREQ "space ye/1.1&sp.ce|y+|@2.5<2.7|baz|@<1"] | ||
lappend ans [list set _LMFILES_ "$mp/baz/2:$mp/space ye/1.1"] | ||
lappend ans [list set LOADEDMODULES "baz/2:space ye/1.1"] | ||
lappend ans [list set __MODULES_LMTAG "baz/2&auto-loaded"] | ||
testouterr_cmd_re sh {load --auto space\ ye/1.1} $ans [msg_top_load {'space ye/1.1'} {} baz/2 {} $err_path'sp.ce' "$err_path'y\\+'" "$err_path'@2.5:2.7'"] | ||
testouterr_cmd_re sh {load --auto space\ ye/1.1} $ans [msg_top_load {'space ye/1.1'} {} baz/2 {}] | ||
|
||
set ans [list] | ||
lappend ans [list set __MODULES_LMPREREQ "space ye/1.2&{sp.ce y+}|@2.5<2.7|baz|@<1"] | ||
|
@@ -781,7 +781,7 @@ lappend ans [list set __MODULES_LMPREREQ "space ye/1.4&{sp.ce [email protected]}|@2.5<2.7|b | |
lappend ans [list set _LMFILES_ "$mp/baz/2:$mp/space ye/1.4"] | ||
lappend ans [list set LOADEDMODULES "baz/2:space ye/1.4"] | ||
lappend ans [list set __MODULES_LMTAG "baz/2&auto-loaded"] | ||
testouterr_cmd_re sh {load --auto space\ ye/1.4} $ans [msg_top_load {'space ye/1.4'} {} {baz/2} {} "$err_path'{sp.ce y\\[email protected]}'" "$err_path'@2.5:2.7'"] | ||
testouterr_cmd_re sh {load --auto space\ ye/1.4} $ans [msg_top_load {'space ye/1.4'} {} {baz/2} {}] | ||
|
||
set ans [list] | ||
lappend ans [list set __MODULES_LMPREREQ "space ye/1.5&{sp.ce y+}|@1.2|@2.5<2.7|baz|@<1"] | ||
|
@@ -802,21 +802,21 @@ lappend ans [list set __MODULES_LMPREREQ "space ye/1.7&{sp.ce y+@0 2}|baz|@<1"] | |
lappend ans [list set _LMFILES_ "$mp/baz/2:$mp/space ye/1.7"] | ||
lappend ans [list set LOADEDMODULES "baz/2:space ye/1.7"] | ||
lappend ans [list set __MODULES_LMTAG "baz/2&auto-loaded"] | ||
testouterr_cmd_re sh {load --auto space\ ye/1.7} $ans [msg_top_load {'space ye/1.7'} {} {baz/2} {} "$err_path'{sp.ce y\\+@0 2}'"] | ||
testouterr_cmd_re sh {load --auto space\ ye/1.7} $ans [msg_top_load {'space ye/1.7'} {} {baz/2} {}] | ||
|
||
set ans [list] | ||
lappend ans [list set __MODULES_LMPREREQ "space ye/1.8&{space y @1 }|baz|@<1"] | ||
lappend ans [list set _LMFILES_ "$mp/baz/2:$mp/space ye/1.8"] | ||
lappend ans [list set LOADEDMODULES "baz/2:space ye/1.8"] | ||
lappend ans [list set __MODULES_LMTAG "baz/2&auto-loaded"] | ||
testouterr_cmd_re sh {load --auto space\ ye/1.8} $ans [msg_top_load {'space ye/1.8'} {} {baz/2} {} "$err_path'{space y @1 }'"] | ||
testouterr_cmd_re sh {load --auto space\ ye/1.8} $ans [msg_top_load {'space ye/1.8'} {} {baz/2} {}] | ||
|
||
set ans [list] | ||
lappend ans [list set __MODULES_LMPREREQ "space ye/1.9&{space y @a }|baz|@<1"] | ||
lappend ans [list set _LMFILES_ "$mp/baz/2:$mp/space ye/1.9"] | ||
lappend ans [list set LOADEDMODULES "baz/2:space ye/1.9"] | ||
lappend ans [list set __MODULES_LMTAG "baz/2&auto-loaded"] | ||
testouterr_cmd_re sh {load --auto space\ ye/1.9} $ans [msg_top_load {'space ye/1.9'} {} {baz/2} {} "$err_path'{space y @a }'"] | ||
testouterr_cmd_re sh {load --auto space\ ye/1.9} $ans [msg_top_load {'space ye/1.9'} {} {baz/2} {}] | ||
|
||
setenv_loaded_module [list {sp.ce y+/2.7}] [list "$mp/sp.ce y+/2.7"] | ||
|
||
|
@@ -825,7 +825,7 @@ lappend ans [list set __MODULES_LMPREREQ "space ye/1.1&sp.ce|y+|@2.5<2.7|baz|@<1 | |
lappend ans [list set _LMFILES_ "$mp/sp.ce y+/2.7:$mp/baz/2:$mp/space ye/1.1"] | ||
lappend ans [list set LOADEDMODULES "sp.ce y+/2.7:baz/2:space ye/1.1"] | ||
lappend ans [list set __MODULES_LMTAG "baz/2&auto-loaded"] | ||
testouterr_cmd_re sh {load --auto space\ ye/1.1} $ans [msg_top_load {'space ye/1.1'} {} baz/2 {} $err_path'sp.ce' "$err_path'y\\+'" "$err_path'@2.5:2.7'"] | ||
testouterr_cmd_re sh {load --auto space\ ye/1.1} $ans [msg_top_load {'space ye/1.1'} {} baz/2 {}] | ||
|
||
set ans [list] | ||
lappend ans [list set __MODULES_LMPREREQ "space ye/1.5&{sp.ce y+}|@1.2|@2.5<2.7|baz|@<1"] | ||
|