"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "testsuite/modules.50-cmds/151-module-onlytop.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.

151-module-onlytop.exp  (modules-5.1.1.tar.bz2):151-module-onlytop.exp  (modules-5.2.0.tar.bz2)
skipping to change at line 28 skipping to change at line 28
# Tests 'module' sub-commands that cannot be called # Tests 'module' sub-commands that cannot be called
# outside of command line # outside of command line
# }C% # }C%
# #
############################################################################## ##############################################################################
skip_if_quick_mode skip_if_quick_mode
setenv_path_var MODULEPATH $modpath $modpath.3 setenv_path_var MODULEPATH $modpath $modpath.3
foreach subcmd [list append-path prepend-path remove-path autoinit help is-loade d is-saved is-used is-avail path paths info-loaded clear config sh-to-mod edit r efresh state] { foreach subcmd [list append-path prepend-path remove-path autoinit help is-loade d is-saved is-used is-avail path paths info-loaded clear config sh-to-mod edit r efresh state lint mod-to-sh reset stash stashclear stashlist stashpop stashrm st ashshow] {
set module "modbad/$subcmd" set module "modbad/$subcmd"
if {$subcmd in {refresh source state}} { if {$subcmd in {refresh source state lint mod-to-sh reset stash stashclear s tashlist stashpop stashrm stashshow}} {
set modulefile "$modpath.3/$module" set modulefile "$modpath.3/$module"
set modulefilere "$modpathre.3/$module" set modulefilere "$modpathre.3/$module"
} else { } else {
set modulefile "$modpath/$module" set modulefile "$modpath/$module"
set modulefilere "$modpathre/$module" set modulefilere "$modpathre/$module"
} }
switch -- $subcmd { switch -- $subcmd {
{append-path} - {prepend-path} - {remove-path} { {append-path} - {prepend-path} - {remove-path} {
set subcmdargs " FOO bar" set subcmdargs " FOO bar"
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

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