"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "testsuite/install.00-init/025-autoinit.exp" between
modules-5.1.1.tar.bz2 and modules-5.2.0.tar.bz2

About: The Environment Modules package provides for the dynamic modification of a user’s environment via modulefiles.

025-autoinit.exp  (modules-5.1.1.tar.bz2):025-autoinit.exp  (modules-5.2.0.tar.bz2)
skipping to change at line 52 skipping to change at line 52
testall_cmd_re "autoinit:$shell" "ml --version" {} "Modules Release \\S+ ( \\S+)" 0 testall_cmd_re "autoinit:$shell" "ml --version" {} "Modules Release \\S+ ( \\S+)" 0
testall_cmd "autoinit:$shell" "ml foo" "" "$error_msgs: Unable to locate a modulefile for 'foo'" 1 testall_cmd "autoinit:$shell" "ml foo" "" "$error_msgs: Unable to locate a modulefile for 'foo'" 1
testall_cmd "autoinit:$shell" "ml use $contrib_modpath\; ml purge\; ml nul l\; ml list -t" "" "$cur_loaded\nnull" 0 testall_cmd "autoinit:$shell" "ml use $contrib_modpath\; ml purge\; ml nul l\; ml list -t" "" "$cur_loaded\nnull" 0
testall_cmd "autoinit:$shell" "ml use $contrib_modpath\; ml purge\; ml nul l\; ml -null\; ml" "" "$no_loaded" 0 testall_cmd "autoinit:$shell" "ml use $contrib_modpath\; ml purge\; ml nul l\; ml -null\; ml" "" "$no_loaded" 0
} }
} }
# test loaded module refresh performed during autoinit # test loaded module refresh performed during autoinit
setenv_path_var MODULEPATH $testsuite_modpath.3 setenv_path_var MODULEPATH $testsuite_modpath.3
setenv_loaded_module [list refresh/4.0] [list $testsuite_modpath.3/refresh/4.0] setenv_loaded_module [list refresh/4.0] [list $testsuite_modpath.3/refresh/4.0]
setenv_var __MODULES_LMREFRESH refresh/4.0
foreach shell $shell_list { foreach shell $shell_list {
if {$shell in {csh tcsh}} { if {$shell in {csh tcsh}} {
testall_cmd "autoinit:$shell" "alfoo" "foo4" "" 0 testall_cmd "autoinit:$shell" "alfoo" "foo4" "" 0
} else { } else {
testall_cmd "autoinit:$shell" "alfoo; funcfoo" "foo4\nfoo4" "" 0 testall_cmd "autoinit:$shell" "alfoo; funcfoo" "foo4\nfoo4" "" 0
} }
} }
# #
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)