File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ testdescript = {
64
64
runLmod purge #16
65
65
66
66
# Test Mixed Unload Operations
67
- runLmod load mixed_unload_test #17 (Test unload-specific operations)
68
- runLmod list #18 (Verify initial state)
67
+ runLmod load mixed_unload_test #17 (Test unload-specific operations)
68
+ runLmod list #18 (Verify initial state)
69
69
runLmod unload mixed_unload_test #19 (Test unload behavior)
70
70
runLmod list #20 (Verify final state)
71
71
runLmod purge #21
@@ -76,8 +76,8 @@ testdescript = {
76
76
runLmod unload mixed_both_test #24 (Test dual-mode operations during unload)
77
77
runLmod list #25 (Verify final state)
78
78
79
- runLmod load forbidden_env_test #26 (Test forbidden env var check: should raise error and not load)
80
- runLmod load invalid_key_test #27 (Test invalid func key check: should raise error and not load)
79
+ runLmod load forbidden_env_test #26 (Test forbidden env var check: should raise error and not load)
80
+ runLmod load invalid_key_test #27 (Test invalid func key check: should raise error and not load)
81
81
82
82
83
83
HOME=$ORIG_HOME
Original file line number Diff line number Diff line change @@ -197,6 +197,12 @@ local function l_checkForbiddenEnv(argT)
197
197
if (not argT .modeA or type (argT .modeA ) ~= " table" or # argT .modeA == 0 ) then
198
198
return true
199
199
end
200
+ -- if (argT.modeA and type(argT.modeA) == "table" and #argT.modeA == 1 and argT.modeA[1] == "normal") then
201
+ -- return true
202
+ -- end
203
+ if (# argT .modeA == 1 and argT .modeA [1 ] == " normal" ) then
204
+ return true
205
+ end
200
206
201
207
-- Check if the target variable is in the list of forbidden keys.
202
208
local forbiddenKeys = { MODULEPATH = true }
You can’t perform that action at this time.
0 commit comments