File tree Expand file tree Collapse file tree 4 files changed +28
-28
lines changed
Expand file tree Collapse file tree 4 files changed +28
-28
lines changed Original file line number Diff line number Diff line change 1- #%Module
1+ #%Module1.0
2+
3+ ##############################################################################
4+ # Modules Revision 3.0
5+ # Providing a flexible user environment
6+ #
7+ # File: append/%M%
8+ # Revision: %I%
9+ # First Edition: 2026/01/08
10+ # Last Mod.: %U%, %G%
11+ #
12+ # Authors: Achim Gsell, achim.gsell@psi.ch
13+ #
14+ # Description: Test appending paths with path_entry_enabled
15+ # Command:
16+ # Sub-Command: append-path
17+ #
18+ # Invocation: load @M@/@V@
19+ # Comment: %C{
20+ # }C%
21+ #
22+ ##############################################################################
23+
24+ append-path FOO /test/dir1 /test/dir2 /test/dir3
Original file line number Diff line number Diff line change 1+ #%Module
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -489,9 +489,10 @@ testouterr_cmd "sh" "unload $module" $ans {}
489489# test that path entry is not removed if added twice and path_entry_reorder
490490# is true
491491#
492- set module "append/9 .0"
493- set modulefile "$modpath/$module"
492+ set module "append/2 .0"
493+ set modulefile "$modpath.4 /$module"
494494
495+ setenv_var MODULEPATH $modpath.4
495496setenv_var MODULES_PATH_ENTRY_REORDER 1
496497setenv_var FOO /test/dir2
497498unsetenv_var __MODULES_SHARE_FOO
@@ -511,7 +512,6 @@ testouterr_cmd "sh" "load $module" $ans ""
511512
512513unsetenv_loaded_module
513514unsetenv_path_var FOO
514- setenv_var MODULEPATH $modpath.4
515515
516516set ans [list]
517517lappend ans [list set FOO /tmp*]
You can’t perform that action at this time.
0 commit comments