| 1 |
#%Module1.0 |
| 2 |
|
| 3 |
############################################################################## |
| 4 |
# Modules Revision 3.0 |
| 5 |
# Providing a flexible user environment |
| 6 |
# |
| 7 |
# File: allin/%M% |
| 8 |
# Revision: %I% |
| 9 |
# First Edition: 2018/04/02 |
| 10 |
# Last Mod.: %U%, %G% |
| 11 |
# |
| 12 |
# Authors: Xavier Delaruelle, [email protected] |
| 13 |
# |
| 14 |
# Description: Testuite modulefile |
| 15 |
# Command: |
| 16 |
# |
| 17 |
# Invocation: |
| 18 |
# Result: %R{ |
| 19 |
# }R% |
| 20 |
# Comment: %C{ |
| 21 |
# Test all modulefile commands against the different modes |
| 22 |
# }C% |
| 23 |
# |
| 24 |
############################################################################## |
| 25 |
|
| 26 |
prereq allin/5 |
| 27 |
append txt [getenv ts] |
| 28 |
append txt [is-loaded allin] |
| 29 |
append txt [is-saved allin] |
| 30 |
append txt [is-used allin] |
| 31 |
append txt [is-avail allin] |
| 32 |
append txt [module-info type] |
| 33 |
append txt [module-info mode] |
| 34 |
append txt [module-info command] |
| 35 |
append txt [module-info name] |
| 36 |
append txt [module-info specified] |
| 37 |
append txt [module-info shell] |
| 38 |
append txt [module-info shelltype] |
| 39 |
append txt [module-info alias allin] |
| 40 |
append txt [module-info version allin] |
| 41 |
append txt [module-info symbols allin] |
| 42 |
append txt [module-info loaded allin] |
| 43 |
append txt [uname sysname] |
| 44 |
append txt [uname nodename] |
| 45 |
append txt [uname domain] |
| 46 |
append txt [uname release] |
| 47 |
append txt [uname version] |
| 48 |
append txt [uname machine] |
| 49 |
if {![module-info mode whatis]} { |
| 50 |
puts stderr $txt |
| 51 |
} |
| 52 |
continue |