Debian Codegraph @

testsuite/modulefiles.2/hide3/.modulerc

raw
1 #%Module
2 module-alias hide3/al1 hide3/sub2
3 module-alias hide3/al2 hide3/sub2/5.0
4 module-version hide3/sub1 default
5 module-version hide3/sub2 sym
6
7 if {[info exists env(TESTSUITE_HIDE3_SET1)]} {
8 module-hide hide3
9 }
10 # test cascading definition with big match in global rc file and sub match here
11 if {[info exists env(TESTSUITE_HIDE3_SET2)]} {
12 module-hide hide3/sub2@new
13 }
14
15 # module-hide --soft tests
16 if {[info exists env(TESTSUITE_HIDE3_SOFT_SET1)]} {
17 module-hide --soft hide3
18 }
19 if {[info exists env(TESTSUITE_HIDE3_SOFT_SET2)]} {
20 module-hide --soft hide3/sub2@new
21 }
22
23
24 # 20/115 module-forbid tests
25 if {[info exists env(TESTSUITE_FORBID3_SET1)]} {
26 module-forbid hide3
27 module-hide --hard hide3
28 }
29
30
31 # 20/111 module-hide --hard tests
32 if {[info exists env(TESTSUITE_HIDE3_HARD_SET1)]} {
33 module-hide --hard hide3
34 }
35 # test cascading definition with big match in global rc file and sub match here
36 if {[info exists env(TESTSUITE_HIDE3_HARD_SET2)]} {
37 module-hide --hard hide3/sub2@new
38 }
39
40
41 # 20/115 module-forbid tests over different kind of elements
42 # and coupled to different kind of module-hide command
43 if {[info exists env(TESTSUITE_FORBID3_SET2)]} {
44 module-forbid hide3/1.0 hide3/sub1 hide3/al2 hide3/sub2/new
45 }
46 if {[info exists env(TESTSUITE_FORBID3_SET3)]} {
47 module-forbid hide3/1.0 hide3/sub1 hide3/al2 hide3/sub2/new
48 module-hide --soft hide3/1.0 hide3/sub1 hide3/al2 hide3/sub2/new
49 }
50 if {[info exists env(TESTSUITE_FORBID3_SET4)]} {
51 module-forbid hide3/1.0 hide3/sub1 hide3/al2 hide3/sub2/new
52 module-hide hide3/1.0 hide3/sub1 hide3/al2 hide3/sub2/new
53 }
54
55
56 # 20/112 module-hide --hidden-loaded tests
57 if {[info exists env(TESTSUITE_HIDE3_HIDDEN_LOADED_SET1)]} {
58 module-hide --hidden-loaded hide3
59 }
60 if {[info exists env(TESTSUITE_HIDE3_HIDDEN_LOADED_SET2)]} {
61 module-hide --soft --hidden-loaded hide3
62 }