testsuite/modulefiles.3/list/1.0
raw| 1 | #%Module |
| 2 | |
| 3 | module-whatis [module-info name] |
| 4 | |
| 5 | if {[info exists env(TESTSUITE_MODULE_LIST)]} { |
| 6 | switch -- $env(TESTSUITE_MODULE_LIST) { |
| 7 | list1 { |
| 8 | module list |
| 9 | } |
| 10 | list2 { |
| 11 | module list foo |
| 12 | } |
| 13 | list3 { |
| 14 | module list foo@1 |
| 15 | } |
| 16 | list4 { |
| 17 | module list foo bar/1 |
| 18 | } |
| 19 | list5 { |
| 20 | module list alfoo bar/1 |
| 21 | } |
| 22 | } |
| 23 | } |
| 24 |