===========================
step 1
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --version
===========================
Modules based on Lua: Version 8.6.9  2022-02-02 11:25 -04:00
    by Robert McLay mclay@tacc.utexas.edu
===========================
step 2
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --config
===========================
Modules based on Lua: Version 8.6.9  2022-02-02 11:25 -04:00
    by Robert McLay mclay@tacc.utexas.edu
Description                        Value
Allow root to use Lmod             yes
Allow TCL modulefiles              yes
Auto swapping                      yes
Avail Style                        <system>
Case Independent Sorting           no
Colorize Lmod                      yes
Configuration dir                  ProjectDIR/rt/configDir/lmod_cfg_dir
Disable Same Name AutoSwap         no
Display Extension w/ avail         yes
Using dotfiles                     yes
Allow duplicate paths              no
Require Exact Match/no defaults    no
Export the module command          yes
Allow extended default             yes
Use attached TCL over system call  no
Use italic instead of dim          no
KSH Support                        no
Language used for err/msg/warn     en
Site message file                  ProjectDIR/rt/configDir/lmod_cfg_dir/lang.lua
LUA_CPATH                          @sys_lua_cpath@
LUA_PATH                           @sys_lua_path@
System lua-term                    no
avail: Include modulepath dir      no
MODULEPATH_INIT                    @PKG@/init/.modulespath -> <empty>
MODULEPATH_ROOT
number of cache dirs               0
OS Name                            <N/A>
Pager                              less
Pager Options                      -XqMREF
Path to HashSum                    PATH_to_HASHSUM
Path to Lua                        lua
Pin Versions in restore            no
Pkg Class name                     Pkg
Lmod prefix                        @PREFIX@
Site controlled prefix             no
Prepend order                      normal
LMOD_RC                            <empty>
Redirect to stdout                 no
Supporting Full Settarg Use        no
User shell                         bash
Site Name                          XYZZY
Site Pkg location                  ProjectDIR/rt/configDir/lmod_cfg_dir/SitePackage.lua
Ignore Cache                       no
Cached loads                       no
System Name                        <empty>
SYSHOST (cluster name)             <empty>
TCL Version                        <N/A>
User cache valid time(sec)         86400
Write cache after (sec)            2
Threshold (sec)                    1
Tmod find first rule               no
Tmod prepend PATH Rule             no
Tracing                            no
uname -a
LMOD_CONFIG_DIR     /etc/lmod  ProjectDIR/rt/configDir/lmod_cfg_dir
LMOD_PACKAGE_PATH   nil        ProjectDIR/rt/configDir/lmod_cfg_dir
LMOD_SITE_MSG_FILE  false      ProjectDIR/rt/configDir/lmod_cfg_dir/lang.lua
LMOD_SITE_NAME      false      XYZZY
Active RC file(s):
ProjectDIR/src/../init/lmodrc.lua
 Lmod Property Table:
propT = {
  arch = {
    displayT = {
      gpu = {
        color = "red",
        doc = "built for GPU",
        full_color = false,
        long = "(g)",
        short = "(g)",
      },
      ["gpu:mic"] = {
        color = "red",
        doc = "built natively for MIC and GPU",
        full_color = false,
        long = "(g,m)",
        short = "(gm)",
      },
      ["gpu:mic:offload"] = {
        color = "red",
        doc = "built natively for MIC and GPU and offload to the MIC",
        full_color = false,
        long = "(g,m,o)",
        short = "(@)",
      },
      mic = {
        color = "blue",
        doc = "built for host and native MIC",
        full_color = false,
        long = "(m)",
        short = "(m)",
      },
      ["mic:offload"] = {
        color = "blue",
        doc = "built for host, native MIC and offload to the MIC",
        full_color = false,
        long = "(m,o)",
        short = "(*)",
      },
      offload = {
        color = "blue",
        doc = "built for offload to the MIC only",
        full_color = false,
        long = "(o)",
        short = "(o)",
      },
    },
    validT = {
      gpu = 1,
      mic = 1,
      offload = 1,
    },
  },
  lmod = {
    displayT = {
      sticky = {
        color = "red",
        doc = "Module is Sticky, requires --force to unload or purge",
        long = "(S)",
        short = "(S)",
      },
    },
    validT = {
      sticky = 1,
    },
  },
  state = {
    displayT = {
      experimental = {
        color = "blue",
        doc = "Experimental",
        long = "(E)",
        short = "(E)",
      },
      obsolete = {
        color = "red",
        doc = "Obsolete",
        long = "(O)",
        short = "(O)",
      },
      testing = {
        color = "green",
        doc = "Testing",
        long = "(T)",
        short = "(T)",
      },
    },
    validT = {
      experimental = 1,
      obsolete = 1,
      testing = 1,
    },
  },
  status = {
    displayT = {
      active = {
        color = "yellow",
        doc = "Module is loaded",
        long = "(L)",
        short = "(L)",
      },
    },
    validT = {
      active = 1,
    },
  },
}
===========================
step 3
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load tryThis
===========================
This is kewl
===========================
step 4
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load w
===========================
Lmod Warning: The module w/1.0 is outdated. Please use a version from 2019a or newer.
If there is no newer version, request one at hpc@vub.ac.be.
While processing the following module(s):
    Module fullname  Module Filename
    w/1.0            ProjectDIR/rt/configDir/mf/w/1.0.lua
