Debian Codegraph @

testsuite/modulefiles/bad2/proc

raw
1 #%Module1.0
2
3 ##############################################################################
4 # Modules Revision 3.0
5 # Providing a flexible user environment
6 #
7 # File: bad2/%M%
8 # Revision: %I%
9 # First Edition: 2017/05/21
10 # Last Mod.: %U%, %G%
11 #
12 # Authors: Xavier Delaruelle, [email protected]
13 #
14 # Description: Testuite modulefile
15 # Command:
16 #
17 # Invocation:
18 # Result: %R{
19 # }R%
20 # Comment: %C{
21 # Test behavior against a modulefile using an unknown command
22 # in ModulesDisplay, ModulesTest and ModulesHelp procedures
23 # }C%
24 #
25 ##############################################################################
26
27 proc ModulesDisplay {} {
28 bad-command
29 }
30
31 proc ModulesHelp {} {
32 bad-command
33 }
34
35 proc ModulesTest {} {
36 bad-command
37 return 1
38 }
39
40 setenv testsuite "yes"
41 module-whatis "erroneous module test"