diff --git a/rt/load/err.txt b/rt/load/err.txt index 85c6471a2..ae285d855 100644 --- a/rt/load/err.txt +++ b/rt/load/err.txt @@ -2,7 +2,7 @@ step 1 lua ProjectDIR/src/lmod.in.lua shell --regression_testing --version =========================== -Modules based on Lua: Version 8.7.49 2024-08-30 13:55 -06:00 +Modules based on Lua: Version 8.7.56 2025-02-04 18:12 -07:00 by Robert McLay mclay@tacc.utexas.edu =========================== step 2 @@ -589,3 +589,7 @@ If the avail list is too long consider trying: "module overview" or "ml ov" to display the number of modules for each name. Use "module spider" to find all possible modules and extensions. Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys". +=========================== +step 79 +lua ProjectDIR/src/lmod.in.lua shell --regression_testing update +=========================== diff --git a/rt/load/load.tdesc b/rt/load/load.tdesc index b4924a049..580c83097 100644 --- a/rt/load/load.tdesc +++ b/rt/load/load.tdesc @@ -144,7 +144,7 @@ testdescript = { runLmod load setPrompt # 76 runLmod list # 77 runLmod avail # 78 - + runLmod update # 79 diff --git a/rt/load/out.txt b/rt/load/out.txt index 06e11cbb6..70a639ff8 100644 --- a/rt/load/out.txt +++ b/rt/load/out.txt @@ -944,3 +944,13 @@ MODULEPATH=ProjectDIR/rt/load/mf6; export MODULEPATH; _ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={},mT={longVersion={fn="ProjectDIR/rt/load/mf6/longVersion/branch.60200614194619_w9d09a30560903608993972840ea4qw4d9bb0443-debug.lua",fullName="longVersion/branch.60200614194619_w9d09a30560903608993972840ea4qw4d9bb0443-debug",loadOrder=1,propT={},stackDepth=0,status="active",userName="longVersion",wV="*branch.60200614194619.*_.*w.000000009.*d.000000009.*a.30560903608993972840.*ea.000000004.*qw.000000004.*d.000000009.*bb.000000443.*debug.*zfinal",},setPrompt={fn="ProjectDIR/rt/load/mf6/setPrompt/1.0.lua",fullName="setPrompt/1.0",loadOrder=2,propT={},stackDepth=0,status="active",userName="setPrompt",wV="000000001.*zfinal",},},mpathA={"ProjectDIR/rt/load/mf6",},systemBaseMPATH="ProjectDIR/rt/load/mf6",}'; export _ModuleTable_; +=========================== +step 79 +lua ProjectDIR/src/lmod.in.lua shell --regression_testing update +=========================== +MODULEPATH=ProjectDIR/rt/load/mf6; +export MODULEPATH; +MY_PS1=\[\\u@\\h\ \\W\]\\\$\ ; +export MY_PS1; +_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={},mT={longVersion={fn="ProjectDIR/rt/load/mf6/longVersion/branch.60200614194619_w9d09a30560903608993972840ea4qw4d9bb0443-debug.lua",fullName="longVersion/branch.60200614194619_w9d09a30560903608993972840ea4qw4d9bb0443-debug",loadOrder=1,propT={},stackDepth=0,status="active",userName="longVersion",wV="*branch.60200614194619.*_.*w.000000009.*d.000000009.*a.30560903608993972840.*ea.000000004.*qw.000000004.*d.000000009.*bb.000000443.*debug.*zfinal",},setPrompt={fn="ProjectDIR/rt/load/mf6/setPrompt/1.0.lua",fullName="setPrompt/1.0",loadOrder=2,propT={},stackDepth=0,status="active",userName="setPrompt",wV="000000001.*zfinal",},},mpathA={"ProjectDIR/rt/load/mf6",},systemBaseMPATH="ProjectDIR/rt/load/mf6",}'; +export _ModuleTable_; diff --git a/src/cmdfuncs.lua b/src/cmdfuncs.lua index e3e99aa1c..e64e830be 100644 --- a/src/cmdfuncs.lua +++ b/src/cmdfuncs.lua @@ -1204,6 +1204,7 @@ end -------------------------------------------------------------------------- -- Reload all modules. function Update() + local mrc = MRC:singleton(); mrc:set_display_mode("all") local hub = Hub:singleton() local force_update = true hub:reloadAll(force_update)