atexit-tests: ensure reliable exit status
authorEric Blake <eblake@redhat.com>
Tue, 24 May 2011 22:42:37 +0000 (16:42 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 24 May 2011 23:22:20 +0000 (17:22 -0600)
This was the only remaining init.sh client that didn't properly
use the 'Exit' function.

* tests/test-atexit.sh: Prefer 'Exit' over 'exit'.
Reported by Bruno Haible.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
tests/test-atexit.sh

index 1f0ac8b..31b9c15 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-24  Eric Blake  <eblake@redhat.com>
+
+       atexit-tests: ensure reliable exit status
+       * tests/test-atexit.sh: Prefer 'Exit' over 'exit'.
+       Reported by Bruno Haible.
+
 2011-05-24  Bruno Haible  <bruno@clisp.org>
 
        strerror_r-posix: Respect rules for use of AC_LIBOBJ.
index 05f23eb..643a72f 100755 (executable)
@@ -25,4 +25,4 @@ if test -f t-atexit.tmp; then
   Exit 1
 fi
 
-exit 0
+Exit 0