#%Module1.0

##############################################################################
#   Modules Revision 3.0
#   Providing a flexible user environment
#
#   File:		loc_tr/%M%
#   Revision:		%I%
#   First Edition:	2017/08/16
#   Last Mod.:		%U%, %G%
#
#   Authors:		Xavier Delaruelle, xavier.delaruelle@cea.fr
#
#   Description:	Testuite modulefile
#   Command:        module-version, module-alias
#   Sub-Command:
#
#   Invocation:
#   Result:	%R{
#		}R%
#   Comment:	%C{
#           Test the correct resolution of module aliases and symbolic
#           versions set in a transitive manner
#		}C%
#
##############################################################################

# symbol set on symbol
module-version /cur stable
module-version /1.0 cur

# alias set on symbol (alias set before target symbol definition)
module-alias loc_tr/al1 loc_tr/next
module-version /2.0 next

# symbol set on alias of symbol (alias set before target symbol definition)
module-version loc_tr/al1 unstable

# alias set on symbol (alias set after target symbol definition)
module-version /3.0 foo
module-alias loc_tr/al2 loc_tr/foo

# symbol set on alias of symbol (alias set after target symbol definition)
module-version /al2 bar

# alias set on alias of symbol
module-alias loc_tr/al3 loc_tr/al2

# symbol set on alias of alias of symbol
module-version /al3 exp

# alias set on symbol set on alias of alias of symbol
module-alias loc_tr/al4 loc_tr/exp

# default symbol set on alias of symbol set on alias of alias of symbol
module-version /al4 default

# symbol set on default symbol set on alias of symbol set on alias of alias of symbol
module-version /default reg
