Files
modules/testsuite/modulefiles/remove/1.4
Xavier Delaruelle ccf69b3144 Improve {append,prepend,remove}-path arg check
Detect missing environment variable name or value when calling
append-path, prepend-path or remove-path procedures. Raise error in this
situation.

Introduce a 'parsePathCommandArgs' to check args for the 3 *-path
commands.

Add non-regression tests in 050-cmds and 070-maint suites to check bad
argument situations.

Closes #139
2017-12-15 06:35:18 +01:00

25 lines
562 B
Groff

#%Module1.0
##############################################################################
# Modules Revision 3.0
# Providing a flexible user environment
#
# File: remove/%M%
# Revision: %I%
# First Edition: 2017/12/14
# Last Mod.: %U%, %G%
#
# Authors: Xavier Delaruelle, xavier.delaruelle@cea.fr
#
# Description: Test bad argument list
# Command:
# Sub-Command: remove-path
#
# Invocation: load @M@/@V@
# Comment: %C{
# }C%
#
##############################################################################
remove-path -d : PATH