| 1 |
#%Module1.0 |
| 2 |
|
| 3 |
############################################################################## |
| 4 |
# Modules Revision 3.0 |
| 5 |
# Providing a flexible user environment |
| 6 |
# |
| 7 |
# File: system/%M% |
| 8 |
# Revision: %I% |
| 9 |
# First Edition: 95/12/06 |
| 10 |
# Last Mod.: %U%, %G% |
| 11 |
# |
| 12 |
# Authors: Jens Hamisch, [email protected] |
| 13 |
# |
| 14 |
# Description: Testuite modulefile |
| 15 |
# Command: |
| 16 |
# Sub-Command: system |
| 17 |
# |
| 18 |
# Invocation: load @M@ |
| 19 |
# Result: %R{ |
| 20 |
# setenv _LMFILES_ ${_LMFILES_}:@M@/@V@ |
| 21 |
# setenv LOADEDMODULES ${LOADEDMODULES}:@P@/@M@/@V@ |
| 22 |
# setenv testsuite 123 |
| 23 |
# }R% |
| 24 |
# Comment: %C{ |
| 25 |
# Check the 'system' command. It calls the passed shell |
| 26 |
# command and returns its exit status. |
| 27 |
# }C% |
| 28 |
# |
| 29 |
############################################################################## |
| 30 |
|
| 31 |
setenv testsuite [system $env(TESTSUITEDIR)/systest] |
| 32 |
setenv testsuite2 [system $env(TESTSUITEDIR)/systest 1 0 9] |
| 33 |
setenv testsuite3 [system "$env(TESTSUITEDIR)/systest 1 0 9"] |
| 34 |
setenv testsuite4 [system "$env(TESTSUITEDIR)/systest1 /path/to/`$env(TESTSUITEDIR)/systest1 dir`/file"] |
| 35 |
setenv testsuite5 [system $env(TESTSUITEDIR)/systest1 /path/to/`$env(TESTSUITEDIR)/systest1 dir`/file] |