===========================
step 1
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --version
===========================
===========================
step 2
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load TACC
===========================
A=1.0;
export A;
B=1.0;
export B;
C=1.0;
export C;
LOADEDMODULES=A/1.0:B/1.0:C/1.0:TACC;
export LOADEDMODULES;
__LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/mgrload_func/mf/Core:1;
export __LMOD_REF_COUNT_MODULEPATH;
MODULEPATH=ProjectDIR/rt/mgrload_func/mf/Core;
export MODULEPATH;
_LMFILES_=ProjectDIR/rt/mgrload_func/mf/Core/A/1.0.lua:ProjectDIR/rt/mgrload_func/mf/Core/B/1.0.lua:ProjectDIR/rt/mgrload_func/mf/Core/C/1.0.lua:ProjectDIR/rt/mgrload_func/mf/Core/TACC.lua;
export _LMFILES_;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={},mT={A={fn="ProjectDIR/rt/mgrload_func/mf/Core/A/1.0.lua",fullName="A/1.0",loadOrder=1,propT={},ref_count=1,stackDepth=1,status="active",userName="A",wV="000000001.*zfinal",},B={fn="ProjectDIR/rt/mgrload_func/mf/Core/B/1.0.lua",fullName="B/1.0",loadOrder=2,propT={},stackDepth=1,status="active",userName="B",wV="000000001.*zfinal",},C={fn="ProjectDIR/rt/mgrload_func/mf/Core/C/1.0.lua",fullName="C/1.0",loadOrder=3,propT={},ref_count=1,stackDepth=1,status="active",userName="C",wV="000000001.*zfinal",},TACC={fn="ProjectDIR/rt/mgrload_func/mf/Core/TACC.lua",fullName="TACC",loadOrder=4,propT={},stackDepth=0,status="active",userName="TACC",wV="M.*zfinal",},},mpathA={"ProjectDIR/rt/mgrload_func/mf/Core",},systemBaseMPATH="ProjectDIR/rt/mgrload_func/mf/Core",}';
export _ModuleTable_;
===========================
step 3
lua ProjectDIR/src/lmod.in.lua bash --regression_testing unload B
===========================
unset B;
LOADEDMODULES=A/1.0:C/1.0:TACC;
export LOADEDMODULES;
MODULEPATH=ProjectDIR/rt/mgrload_func/mf/Core;
export MODULEPATH;
_LMFILES_=ProjectDIR/rt/mgrload_func/mf/Core/A/1.0.lua:ProjectDIR/rt/mgrload_func/mf/Core/C/1.0.lua:ProjectDIR/rt/mgrload_func/mf/Core/TACC.lua;
export _LMFILES_;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={},mT={A={fn="ProjectDIR/rt/mgrload_func/mf/Core/A/1.0.lua",fullName="A/1.0",loadOrder=1,propT={},ref_count=1,stackDepth=1,status="active",userName="A",wV="000000001.*zfinal",},C={fn="ProjectDIR/rt/mgrload_func/mf/Core/C/1.0.lua",fullName="C/1.0",loadOrder=2,propT={},ref_count=1,stackDepth=1,status="active",userName="C",wV="000000001.*zfinal",},TACC={fn="ProjectDIR/rt/mgrload_func/mf/Core/TACC.lua",fullName="TACC",loadOrder=3,propT={},stackDepth=0,status="active",userName="TACC",wV="M.*zfinal",},},mpathA={"ProjectDIR/rt/mgrload_func/mf/Core",},systemBaseMPATH="ProjectDIR/rt/mgrload_func/mf/Core",}';
export _ModuleTable_;
===========================
step 4
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
MODULEPATH=ProjectDIR/rt/mgrload_func/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={},mT={A={fn="ProjectDIR/rt/mgrload_func/mf/Core/A/1.0.lua",fullName="A/1.0",loadOrder=1,propT={},ref_count=1,stackDepth=1,status="active",userName="A",wV="000000001.*zfinal",},C={fn="ProjectDIR/rt/mgrload_func/mf/Core/C/1.0.lua",fullName="C/1.0",loadOrder=2,propT={},ref_count=1,stackDepth=1,status="active",userName="C",wV="000000001.*zfinal",},TACC={fn="ProjectDIR/rt/mgrload_func/mf/Core/TACC.lua",fullName="TACC",loadOrder=3,propT={},stackDepth=0,status="active",userName="TACC",wV="M.*zfinal",},},mpathA={"ProjectDIR/rt/mgrload_func/mf/Core",},systemBaseMPATH="ProjectDIR/rt/mgrload_func/mf/Core",}';
export _ModuleTable_;
===========================
step 5
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --mt
===========================
===========================
step 6
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load avx
===========================
A=1.0;
export A;
C=1.0;
export C;
LOADEDMODULES=A/1.0:C/1.0:TACC:avx;
export LOADEDMODULES;
MODULEPATH=ProjectDIR/rt/mgrload_func/mf/Core;
export MODULEPATH;
RSNT_ARCH=avx;
export RSNT_ARCH;
_LMFILES_=ProjectDIR/rt/mgrload_func/mf/Core/A/1.0.lua:ProjectDIR/rt/mgrload_func/mf/Core/C/1.0.lua:ProjectDIR/rt/mgrload_func/mf/Core/TACC.lua:ProjectDIR/rt/mgrload_func/mf/Core/avx.lua;
export _LMFILES_;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={},mT={A={fn="ProjectDIR/rt/mgrload_func/mf/Core/A/1.0.lua",fullName="A/1.0",loadOrder=1,propT={},ref_count=1,stackDepth=1,status="active",userName="A",wV="000000001.*zfinal",},C={fn="ProjectDIR/rt/mgrload_func/mf/Core/C/1.0.lua",fullName="C/1.0",loadOrder=2,propT={},ref_count=1,stackDepth=1,status="active",userName="C",wV="000000001.*zfinal",},TACC={fn="ProjectDIR/rt/mgrload_func/mf/Core/TACC.lua",fullName="TACC",loadOrder=3,propT={},stackDepth=0,status="active",userName="TACC",wV="M.*zfinal",},avx={fn="ProjectDIR/rt/mgrload_func/mf/Core/avx.lua",fullName="avx",loadOrder=4,propT={},stackDepth=0,status="active",userName="avx",wV="M.*zfinal",},},mpathA={"ProjectDIR/rt/mgrload_func/mf/Core",},systemBaseMPATH="ProjectDIR/rt/mgrload_func/mf/Core",}';
export _ModuleTable_;
===========================
step 7
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
MODULEPATH=ProjectDIR/rt/mgrload_func/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={},mT={A={fn="ProjectDIR/rt/mgrload_func/mf/Core/A/1.0.lua",fullName="A/1.0",loadOrder=1,propT={},ref_count=1,stackDepth=1,status="active",userName="A",wV="000000001.*zfinal",},C={fn="ProjectDIR/rt/mgrload_func/mf/Core/C/1.0.lua",fullName="C/1.0",loadOrder=2,propT={},ref_count=1,stackDepth=1,status="active",userName="C",wV="000000001.*zfinal",},TACC={fn="ProjectDIR/rt/mgrload_func/mf/Core/TACC.lua",fullName="TACC",loadOrder=3,propT={},stackDepth=0,status="active",userName="TACC",wV="M.*zfinal",},avx={fn="ProjectDIR/rt/mgrload_func/mf/Core/avx.lua",fullName="avx",loadOrder=4,propT={},stackDepth=0,status="active",userName="avx",wV="M.*zfinal",},},mpathA={"ProjectDIR/rt/mgrload_func/mf/Core",},systemBaseMPATH="ProjectDIR/rt/mgrload_func/mf/Core",}';
export _ModuleTable_;
===========================
step 8
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --mt
===========================
