Debian Codegraph @

testsuite/modulefiles wspace/badrc3/.modulerc

raw
1 #%Module
2
3
4 set case 0
5 if {[info exists env(BADRC3_CASE)]} {
6 set case $env(BADRC3_CASE)
7 }
8 switch -- $case {
9 1 {
10 proc good-command {} {
11 bad-command
12 }
13 good-command
14 }
15 2 {
16 source $env(TESTSUITEDIR)/modulefiles.2/bad3/.bodycommon
17 }
18 3 {
19 module-info bad
20 }
21 }
22