===========================
step 1
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --version
===========================
Modules based on Lua: Version 8.6.12  2022-02-09 16:10 -06:00
    by Robert McLay mclay@tacc.utexas.edu
===========================
step 2
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load A X
===========================
loading A
===========================
step 3
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
Currently Loaded Modules:
  1) A   2) B   3) X
===========================
step 4
lua ProjectDIR/src/lmod.in.lua bash --regression_testing unload X
===========================
===========================
step 5
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
Currently Loaded Modules:
  1) A
===========================
step 6
lua ProjectDIR/src/lmod.in.lua bash --regression_testing unload A
===========================
===========================
step 7
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load X Y
===========================
loading A
===========================
step 8
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
Currently Loaded Modules:
  1) A   2) B   3) X   4) Y
===========================
step 9
lua ProjectDIR/src/lmod.in.lua bash --regression_testing save
===========================
loading A
Saved current collection of modules to: "default"
===========================
step 10
lua ProjectDIR/src/lmod.in.lua bash --regression_testing unload X
===========================
===========================
step 11
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
Currently Loaded Modules:
  1) B   2) Y
===========================
step 12
lua ProjectDIR/src/lmod.in.lua bash --regression_testing unload Y
===========================
===========================
step 13
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
No modules loaded
===========================
step 14
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load X
===========================
loading A
===========================
step 15
lua ProjectDIR/src/lmod.in.lua bash --regression_testing unload A
===========================
The following dependent module(s) are not currently loaded: A (required by: X)
===========================
step 16
lua ProjectDIR/src/lmod.in.lua bash --regression_testing restore
===========================
Restoring modules from user's default
loading A
loading A
===========================
step 17
lua ProjectDIR/src/lmod.in.lua bash --regression_testing unload A
===========================
The following dependent module(s) are not currently loaded: A (required by: X)
===========================
step 18
lua ProjectDIR/src/lmod.in.lua bash --regression_testing purge
===========================
===========================
step 19
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load Y
===========================
===========================
step 20
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
Currently Loaded Modules:
  1) B   2) Y
===========================
step 21
lua ProjectDIR/src/lmod.in.lua bash --regression_testing save
===========================
Saved current collection of modules to: "default"
===========================
step 22
lua ProjectDIR/src/lmod.in.lua bash --regression_testing restore
===========================
Restoring modules from user's default
===========================
step 23
lua ProjectDIR/src/lmod.in.lua bash --regression_testing unload Y
===========================
===========================
step 24
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
No modules loaded
===========================
step 25
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load Z
===========================
Lmod has detected the following error: The following module(s) are unknown: "Non_existant"
Please check the spelling or version number. Also try "module spider ..."
It is also possible your cache file is out-of-date; it may help to try:
  $ module --ignore_cache load "Non_existant"
Also make sure that all modulefiles written in TCL start with the string #%Module
===========================
step 26
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load bar/1.0
===========================
===========================
step 27
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load foo
===========================
The following have been reloaded with a version change:
  1) bar/1.0 => bar/1.2
===========================
step 28
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
Currently Loaded Modules:
  1) bar/1.2   2) foo/1.0
===========================
step 29
lua ProjectDIR/src/lmod.in.lua bash --regression_testing purge
===========================
===========================
step 30
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load bar/1.2
===========================
===========================
step 31
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load foo
===========================
===========================
step 32
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
Currently Loaded Modules:
  1) bar/1.2   2) foo/1.0
===========================
step 33
lua ProjectDIR/src/lmod.in.lua bash --regression_testing purge
===========================
===========================
step 34
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load SomeSoftware OtherSoftware
===========================
Processing Dependency/3.4
Processing Dependency/3.4
Processing Dependency/5.6
The following dependent module(s) are not currently loaded: Dependency/3.4 (required by: SomeSoftware/1.2)
===========================
step 35
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
Currently Loaded Modules:
  1) SomeSoftware/1.2   2) Dependency/5.6   3) OtherSoftware/3.4
===========================
step 36
lua ProjectDIR/src/lmod.in.lua bash --regression_testing purge
===========================
Processing Dependency/5.6
===========================
step 37
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load A
===========================
===========================
step 38
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
Currently Loaded Modules:
  1) B/2.0   2) A/1.0
===========================
step 39
lua ProjectDIR/src/lmod.in.lua bash --regression_testing purge
===========================
===========================
step 40
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load ipykernel/2022a
===========================
===========================
step 41
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
Currently Loaded Modules:
  1) python/3.8.10   2) ipykernel/2022a
