Debian Codegraph @

testsuite/modulefiles/break/5.0

raw
1 #%Module1.0
2
3 ##############################################################################
4 # Modules Revision 3.0
5 # Providing a flexible user environment
6 #
7 # File: break/%M%
8 # Revision: %I%
9 # First Edition: 2017/06/07
10 # Last Mod.: %U%, %G%
11 #
12 # Authors: Xavier Delaruelle, [email protected]
13 #
14 # Description: Testuite modulefile
15 # Command:
16 # Sub-Command: break
17 #
18 # Invocation: load @M@/foo
19 # Result: %R{
20 # }R%
21 # Comment: %C{
22 # This modulefile is used for checking whether the
23 # TCL "break" mechanism is working when called from proc.
24 # }C%
25 #
26 ##############################################################################
27
28 # should cause this module not to be loaded, but not affecting the others
29 # however, any non-environment commands in this file will be executed though.
30
31 proc break_from_proc {} {
32 break
33 }
34
35 setenv testsuite5 "no"
36 break_from_proc