Files
modules/testsuite/example/initrc.in
Xavier Delaruelle cd4015b106 Revert work on noglob_eval_shells config option
Remove entirely the work on the noglob_eval_shells option as enclosing
in quotes the generated output of modulecmd.tcl to pass it to the eval
command is equivalent to disable the pathname expansion mechanism of
sh-kind shells.
2022-02-24 18:24:47 +01:00

37 lines
1.1 KiB
Plaintext

#%Module
# This file defines the initial module command configuration, the default
# modulefiles search path and modulefiles you want to load by default for all
# users. It should contains lines of module command like 'module config conf
# val', 'module use path' and 'module load mod'
module use [getenv TESTSUITEDIR]/modulefiles.deps
module load mj
module load m2
module restore [getenv TESTSUITEDIR]/coll14
module use "[getenv TESTSUITEDIR]/modulefiles wspace"
module load {space yc/4}
module try-load unk
if {[info exists env(TESTSUITE_INITRC)]} {
switch -- $env(TESTSUITE_INITRC) {
refcount1 {
remove-path BAR /bar
append-path FOO /foo
}
subcmd1 {
module refresh
}
quar1 {
module config quarantine_support 1
}
silentdbg1 {
module config silent_shell_debug 1
}
inprogress1 {
module config set_shell_startup 1
module use [getenv TESTSUITEDIR]/modulefiles.3
module load refresh/5.0
}
}
}
catch {module load unk}
module restore unk