4 trap 'rm -fr $tmpfiles' 1 2 3 15
6 tmpfiles="$tmpfiles t-atexit.tmp"
7 # Check that an atexit handler is called when main() returns normally.
10 if test -f t-atexit.tmp; then
14 # Check that an atexit handler is called when the program is left
17 ./test-atexit${EXEEXT} 0
18 if test -f t-atexit.tmp; then
22 # Check that an atexit handler is called when the program is left
25 ./test-atexit${EXEEXT} 1
26 if test -f t-atexit.tmp; then