Skip to content

Commit

Permalink
Clean up diff hack for load test
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert McLay committed Oct 9, 2024
1 parent c7b7ee4 commit ec592bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion rt/load/err.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
step 1
lua ProjectDIR/src/lmod.in.lua shell --regression_testing --version
===========================
Modules based on Lua: Version 8.7.49 YYYY-MM-DD 13:55 -06:00
Modules based on Lua: Version 8.7.49 2024-08-30 13:55 -06:00
by Robert McLay mclay@tacc.utexas.edu
===========================
step 2
Expand Down
9 changes: 5 additions & 4 deletions rt/load/load.tdesc
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,11 @@ testdescript = {
runLmod load compiler/intel # 68
runLmod unload compiler/intel # 69
env | sort > end.env.xyzzy
diff start.env.xyzzy end.env.xyzzy | $SED \
-e 's/^.*_ModuleTable.*//' \
-e 's/^[0-9]\+[ac][0-9]\+.*//' \
-e '/^ *$/d' \
diff start.env.xyzzy end.env.xyzzy | $SED \
-e 's/^.*_ModuleTable.*//' \
-e 's/^[0-9]\+[ac][0-9]\+.*//' \
-e 's/^[0-9]\+,[0-9]\+[ac][0-9]\+.*//' \
-e '/^ *$/d' \
> diff.env.xyzzy
runBase cat diff.env.xyzzy # 70
Expand Down
1 change: 0 additions & 1 deletion rt/load/out.txt
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,6 @@ export _ModuleTable_;
step 70
cat diff.env.xyzzy
===========================
49,50c49,50
< __LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/load/mf3:1
> __LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/load/mf4:1
> __LMOD_REF_COUNT_PATH=ProjectDIR/rt/load:1;ProjectDIR/proj_mgmt:1;PATH_to_TM:1;/bin:1
Expand Down

0 comments on commit ec592bb

Please sign in to comment.