From fc9b0f6cfa9e0e148a79e51150c8171d617474f2 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 24 May 2011 16:42:37 -0600 Subject: [PATCH] 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 --- ChangeLog | 6 ++++++ tests/test-atexit.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1f0ac8b19..31b9c1543 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-24 Eric Blake + + atexit-tests: ensure reliable exit status + * tests/test-atexit.sh: Prefer 'Exit' over 'exit'. + Reported by Bruno Haible. + 2011-05-24 Bruno Haible strerror_r-posix: Respect rules for use of AC_LIBOBJ. diff --git a/tests/test-atexit.sh b/tests/test-atexit.sh index 05f23eb98..643a72f54 100755 --- a/tests/test-atexit.sh +++ b/tests/test-atexit.sh @@ -25,4 +25,4 @@ if test -f t-atexit.tmp; then Exit 1 fi -exit 0 +Exit 0 -- 2.11.0