changeset 14820:c01cf90644e5

atexit-tests: ensure reliable exit status 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>
author Eric Blake <eblake@redhat.com>
date Tue, 24 May 2011 16:42:37 -0600
parents e3204c55066d
children c47783837720
files ChangeLog tests/test-atexit.sh
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/tests/test-atexit.sh
+++ b/tests/test-atexit.sh
@@ -25,4 +25,4 @@
   Exit 1
 fi
 
-exit 0
+Exit 0