077-alias-undo.exp (modules-5.1.1.tar.bz2) | : | 077-alias-undo.exp (modules-5.2.0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 38 | skipping to change at line 38 | |||
# | # | |||
set module "alias/2.0" | set module "alias/2.0" | |||
set modulefile "$modpath/$module" | set modulefile "$modpath/$module" | |||
# | # | |||
# Set up the environment for reversal ... | # Set up the environment for reversal ... | |||
# | # | |||
setenv_loaded_module $module $modulefile | setenv_loaded_module $module $modulefile | |||
setenv_var __MODULES_LMREFRESH $module | ||||
# | # | |||
# For the different shells ... | # For the different shells ... | |||
# | # | |||
lappend ans [list unset _LMFILES_] | lappend ans [list unset _LMFILES_] | |||
lappend ans [list unset LOADEDMODULES] | lappend ans [list unset LOADEDMODULES] | |||
lappend ans [list unset __MODULES_LMREFRESH] | ||||
lappend ans [list unalias testsuite] | lappend ans [list unalias testsuite] | |||
# | # | |||
# The tests | # The tests | |||
# | # | |||
test_cmd "ALL" "unload $module" $ans | test_cmd "ALL" "unload $module" $ans | |||
# | # | |||
# Cleanup | # Cleanup | |||
# | # | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added |