Debian Codegraph @

testsuite/modulefiles.4/foo/.modulerc

raw
1 #%Module
2 if {[info exists env(TESTSUITE_SCAN)]} {
3 switch -- $env(TESTSUITE_SCAN) {
4 sym1 {
5 module-version foo/1.0 sym
6 module-version foo/99.9 unk
7 }
8 }
9 }
10 if {[info exists env(TESTSUITE_CONFLICT_UNLOAD)]} {
11 switch -- $env(TESTSUITE_CONFLICT_UNLOAD) {
12 sticky_conflict1 - sticky_conflict2 -\
13 dep_sticky_conflict1 - dep_sticky_conflict2 -\
14 sticky_unload1 - sticky_unload2 -\
15 dep_sticky_unload1 - dep_sticky_unload2 {
16 module-tag sticky foo/1.0
17 }
18 supersticky_conflict1 - supersticky_conflict2 -\
19 dep_supersticky_conflict1 - dep_supersticky_conflict2 -\
20 supersticky_unload1 - supersticky_unload2 -\
21 dep_supersticky_unload1 - dep_supersticky_unload2 {
22 module-tag super-sticky foo/1.0
23 }
24 }
25 }
26 if {[info exists env(TESTSUITE_RC_GETENV)]} {
27 switch -- $env(TESTSUITE_RC_GETENV) {
28 sym {
29 module-version foo/1.0 [getenv TESTSUITE_RC_GETENV]
30 }
31 unk {
32 module-version foo/1.0 [getenv UNK_VAR foo]
33 }
34 }
35 }