Skip to content

Commit

Permalink
Issue #684: update gold files for dbT test
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert McLay committed Feb 28, 2024
1 parent 29c7046 commit 516266f
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 7 deletions.
10 changes: 7 additions & 3 deletions rt/dbT/err.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,18 @@ lua ProjectDIR/src/lmod.in.lua shell --regression_testing purge
===========================
===========================
step 4
runSpiderCmd -o dbT ProjectDIR/rt/dbT/mf4
runSpiderCmd -o spiderT ProjectDIR/rt/dbT/mf4
===========================
===========================
step 5
lua ProjectDIR/src/lmod.in.lua shell --regression_testing load newdir
runSpiderCmd -o dbT ProjectDIR/rt/dbT/mf4
===========================
===========================
step 6
lua ProjectDIR/src/lmod.in.lua shell --regression_testing load newdir
===========================
===========================
step 7
lua ProjectDIR/src/lmod.in.lua shell --regression_testing --show_hidden av
===========================
ProjectDIR/rt/dbT/mf3
Expand All @@ -48,6 +52,6 @@ If the avail list is too long consider trying:
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 7
step 8
runSpiderCmd -o dbT ProjectDIR/rt/dbT/mf3:ProjectDIR/rt/dbT/mf4
===========================
95 changes: 91 additions & 4 deletions rt/dbT/out.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,93 @@ _ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={},mT={},mpathA={"Pro
export _ModuleTable_;
===========================
step 4
runSpiderCmd -o spiderT ProjectDIR/rt/dbT/mf4
===========================
timestampFn = {
false,
}
mrcT = {
alias2modT = {},
hiddenT = {
["foobar/1.2.3"] = true,
},
version2modT = {},
}
mrcMpathT = {
["ProjectDIR/rt/dbT/mf3"] = {
hiddenT = {
["foobar/1.2.3"] = true,
},
},
}
spiderT = {
["ProjectDIR/rt/dbT/mf3"] = {
foobar = {
defaultA = {
{
barefn = ".modulerc.lua",
defaultIdx = 2,
fn = "ProjectDIR/rt/dbT/mf3/foobar/.modulerc.lua",
fullName = "foobar/.modulerc",
luaExt = 10,
mpath = "ProjectDIR/rt/dbT/mf3",
value = false,
},
},
defaultT = {
barefn = ".modulerc.lua",
defaultIdx = 2,
fn = "ProjectDIR/rt/dbT/mf3/foobar/.modulerc.lua",
fullName = "foobar/.modulerc",
luaExt = 10,
mpath = "ProjectDIR/rt/dbT/mf3",
value = false,
},
dirT = {},
fileT = {
["foobar/1.2.3"] = {
Version = "1.2.3",
canonical = "1.2.3",
fn = "ProjectDIR/rt/dbT/mf3/foobar/1.2.3.lua",
luaExt = 6,
mpath = "ProjectDIR/rt/dbT/mf3",
pV = "000000001.000000002.000000003.*zfinal",
pathA = {
["/opt/foobar"] = 1,
},
wV = "000000001.000000002.000000003.*zfinal",
},
},
},
},
["ProjectDIR/rt/dbT/mf4"] = {
newdir = {
defaultA = {},
defaultT = {},
dirT = {},
fileT = {
["newdir/1.0"] = {
Version = "1.0",
canonical = "1.0",
changeMPATH = true,
fn = "ProjectDIR/rt/dbT/mf4/newdir/1.0.lua",
luaExt = 4,
mpath = "ProjectDIR/rt/dbT/mf4",
pV = "000000001.*zfinal",
wV = "000000001.*zfinal",
},
},
},
},
version = 5,
}
mpathMapT = {
["ProjectDIR/rt/dbT/mf3"] = {
["newdir/1.0"] = "ProjectDIR/rt/dbT/mf4",
},
}
===========================
step 5
runSpiderCmd -o dbT ProjectDIR/rt/dbT/mf4
===========================
timestampFn = {
Expand All @@ -32,7 +119,7 @@ dbT = {
["ProjectDIR/rt/dbT/mf3/foobar/1.2.3.lua"] = {
Version = "1.2.3",
fullName = "foobar/1.2.3",
hidden = false,
hidden = true,
mpath = "ProjectDIR/rt/dbT/mf3",
pV = "000000001.000000002.000000003.*zfinal",
parentAA = {
Expand All @@ -59,7 +146,7 @@ dbT = {
}
provideByT = {}
===========================
step 5
step 6
lua ProjectDIR/src/lmod.in.lua shell --regression_testing load newdir
===========================
LOADEDMODULES=newdir/1.0;
Expand All @@ -73,15 +160,15 @@ export _LMFILES_;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={},mT={newdir={fn="ProjectDIR/rt/dbT/mf4/newdir/1.0.lua",fullName="newdir/1.0",loadOrder=1,propT={},stackDepth=0,status="active",userName="newdir",wV="000000001.*zfinal",},},mpathA={"ProjectDIR/rt/dbT/mf3","ProjectDIR/rt/dbT/mf4",},systemBaseMPATH="ProjectDIR/rt/dbT/mf4",}';
export _ModuleTable_;
===========================
step 6
step 7
lua ProjectDIR/src/lmod.in.lua shell --regression_testing --show_hidden av
===========================
MODULEPATH=ProjectDIR/rt/dbT/mf3:ProjectDIR/rt/dbT/mf4;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={},mT={newdir={fn="ProjectDIR/rt/dbT/mf4/newdir/1.0.lua",fullName="newdir/1.0",loadOrder=1,propT={},stackDepth=0,status="active",userName="newdir",wV="000000001.*zfinal",},},mpathA={"ProjectDIR/rt/dbT/mf3","ProjectDIR/rt/dbT/mf4",},systemBaseMPATH="ProjectDIR/rt/dbT/mf4",}';
export _ModuleTable_;
===========================
step 7
step 8
runSpiderCmd -o dbT ProjectDIR/rt/dbT/mf3:ProjectDIR/rt/dbT/mf4
===========================
timestampFn = {
Expand Down

0 comments on commit 516266f

Please sign in to comment.