testsuite/modulefiles.4/extra/.modulerc
raw| 1 | #%Module |
| 2 | if {[info exists env(TESTSUITE_EXTRA)]} { |
| 3 | switch -- $env(TESTSUITE_EXTRA) { |
| 4 | prereqalt2 - prereqalt5 { |
| 5 | module-version xtfoo/1.0 1.1 |
| 6 | } |
| 7 | tag1 { |
| 8 | module-tag xtfoo extra/1.0 |
| 9 | module-forbid extra/1.0 |
| 10 | } |
| 11 | tag2 { |
| 12 | module-tag xtfoo extra/1.0 |
| 13 | } |
| 14 | tag3 { |
| 15 | module-tag xtfoo extra/1.0 |
| 16 | module-hide extra/1.0 |
| 17 | } |
| 18 | tag4 { |
| 19 | module-tag xtfoo [file dirname $ModulesCurrentModulefile]/1.0 |
| 20 | } |
| 21 | tag7 { |
| 22 | module-warn --message {warning text} extra/1.0 |
| 23 | } |
| 24 | } |
| 25 | } |