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 1f0ac8b198b72fe89d13626bd173b9ab5b16ced2..31b9c1543085100d5de10ab5aa10251fb87d751d 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 05f23eb9832fcf92b5778c05e5a43417a28ce4b6..643a72f546cb80b5084e593fecd9244a77add6af 100755 (executable)
@@ -25,4 +25,4 @@ if test -f t-atexit.tmp; then
   Exit 1
 fi
 
-exit 0
+Exit 0