Debian Codegraph @

testsuite/modulefiles/exit/4.0

raw
1 #%Module1.0
2
3 ##############################################################################
4 # Modules Revision 3.0
5 # Providing a flexible user environment
6 #
7 # File: exit/%M%
8 # Revision: %I%
9 # First Edition: 2017/06/07
10 # Last Mod.: %U%, %G%
11 #
12 # Authors: Xavier Delaruelle
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 "exit" mechanism is working when called from proc.
24 # }C%
25 #
26 ##############################################################################
27
28 proc exit_from_proc {} {
29 exit
30 }
31
32 setenv testsuite4 "no"
33 exit_from_proc
34 setenv testsuite4x "no"