From cca883f60cf5e624b7752fa837548965512e2861 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 (cherry picked from commit fc9b0f6cfa9e0e148a79e51150c8171d617474f2) --- ChangeLog | 6 ++++++ tests/test-atexit.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 52183116b..eee881336 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 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 Eric Blake + tests: fix logic bug in init.sh * tests/init.sh: (gl_set_x_corrupts_stderr_): Clear for successful shell. 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