Files
modules/testsuite/etc/rc
Xavier Delaruelle 2a3b57fca5 Enable 'is-loaded' for modulerc eval
Make 'is-loaded' modulefile command callable from a modulerc
interpretation. Restore this way the behavior of compatibility version.

Update diff doc and add some specific non-regression tests in 20/060 and
50/380.

Fixes #207
2018-11-01 10:07:31 +01:00

34 lines
916 B
Plaintext

#%Module1.0
##############################################################################
# Modules Revision 3.0
# Providing a flexible user environment
#
# File: etc/%M%
# Revision: %I%
# First Edition: 2017/06/30
# Last Mod.: %U%, %G%
#
# Authors: Xavier Delaruelle, xavier.delaruelle@cea.fr
#
# Description: Module RC file
#
# Comment: %C{
# Valid global module RC file for the testsuite
# }C%
#
##############################################################################
module-alias sym_foo loc_rc2/foo
module-version sym_foo special2
module-virtual virt_bar ../modulefiles/loc_rcv1/.common
module-alias sym_bar virt_bar
module-version sym_bar special3
# check resolution of [module-info command] in a global rc
module-alias sym_bar_[module-info command] virt_bar
# check resolution of [is-loaded mod] in a global rc
module-alias sym_bar_[is-loaded loc_rc2] virt_bar