| 1 |
#%Module1.0 |
| 2 |
|
| 3 |
############################################################################## |
| 4 |
# Modules Revision 3.0 |
| 5 |
# Providing a flexible user environment |
| 6 |
# |
| 7 |
# File: loc_tr/%M% |
| 8 |
# Revision: %I% |
| 9 |
# First Edition: 2017/08/16 |
| 10 |
# Last Mod.: %U%, %G% |
| 11 |
# |
| 12 |
# Authors: Xavier Delaruelle, [email protected] |
| 13 |
# |
| 14 |
# Description: Testuite modulefile |
| 15 |
# Command: module-version, module-alias |
| 16 |
# Sub-Command: |
| 17 |
# |
| 18 |
# Invocation: |
| 19 |
# Result: %R{ |
| 20 |
# }R% |
| 21 |
# Comment: %C{ |
| 22 |
# Test the correct resolution of module aliases and symbolic |
| 23 |
# versions set in a transitive manner |
| 24 |
# }C% |
| 25 |
# |
| 26 |
############################################################################## |
| 27 |
|
| 28 |
# symbol set on symbol |
| 29 |
module-version /cur stable |
| 30 |
module-version /1.0 cur |
| 31 |
|
| 32 |
# alias set on symbol (alias set before target symbol definition) |
| 33 |
module-alias loc_tr/al1 loc_tr/next |
| 34 |
module-version /2.0 next |
| 35 |
|
| 36 |
# symbol set on alias of symbol (alias set before target symbol definition) |
| 37 |
module-version loc_tr/al1 unstable |
| 38 |
|
| 39 |
# alias set on symbol (alias set after target symbol definition) |
| 40 |
module-version /3.0 foo |
| 41 |
module-alias loc_tr/al2 loc_tr/foo |
| 42 |
|
| 43 |
# symbol set on alias of symbol (alias set after target symbol definition) |
| 44 |
module-version /al2 bar |
| 45 |
|
| 46 |
# alias set on alias of symbol |
| 47 |
module-alias loc_tr/al3 loc_tr/al2 |
| 48 |
|
| 49 |
# symbol set on alias of alias of symbol |
| 50 |
module-version /al3 exp |
| 51 |
|
| 52 |
# alias set on symbol set on alias of alias of symbol |
| 53 |
module-alias loc_tr/al4 loc_tr/exp |
| 54 |
|
| 55 |
# default symbol set on alias of symbol set on alias of alias of symbol |
| 56 |
module-version /al4 default |
| 57 |
|
| 58 |
# symbol set on default symbol set on alias of symbol set on alias of alias of symbol |
| 59 |
module-version /default reg |