Files
modules/testsuite/modulefiles/use/4.0
Xavier Delaruelle e11ea60173 Add tests for use/unuse of empty path name
Adapt cmdModuleUse to handle empty path name "" as any other path
string, so an error is returned when file type is cheked.

Add tests in 10-use and 50-cmds suites to check behavior of use and
unuse commands with an empty path passed as argument.

Add by the way tests that were missing for bash shell in 10-use suite.
2017-05-27 19:43:26 +02:00

31 lines
684 B
Plaintext

#%Module1.0
##############################################################################
# Modules Revision 3.0
# Providing a flexible user environment
#
# File: use/%M%
# Revision: %I%
# First Edition: 2017/05/27
# Last Mod.: %U%, %G%
#
# Authors: Xavier Delaruelle, xavier.delaruelle@cea.fr
#
# Description: Testuite modulefile
# Command:
# Sub-Command: use
#
# Invocation: load @M@
# Result: %R{
# setenv _LMFILES_ ${_LMFILES_}:@M@/@V@
# setenv LOADEDMODULES ${LOADEDMODULES}:@P@/@M@/@V@
# }R%
# Comment: %C{
# Check the 'use' command
# }C%
#
##############################################################################
module use ""