dovecot-2.1: run-test.sh didn't exit with failure code when the ...

dovecot at dovecot.org dovecot at dovecot.org
Tue Jan 8 03:44:20 EET 2013


details:   http://hg.dovecot.org/dovecot-2.1/rev/3e3e0b482a36
changeset: 14872:3e3e0b482a36
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jan 08 03:25:55 2013 +0200
description:
run-test.sh didn't exit with failure code when the test failed

diffstat:

 run-test.sh |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (18 lines):

diff -r e4cc3f2b66e3 -r 3e3e0b482a36 run-test.sh
--- a/run-test.sh	Tue Jan 08 03:19:14 2013 +0200
+++ b/run-test.sh	Tue Jan 08 03:25:55 2013 +0200
@@ -5,11 +5,14 @@
 if valgrind --version | grep '^valgrind-3.[012]'; then
   # RHEL 5.4 still has Valgrind v3.2
   valgrind -q --log-file-exactly=test.out.$$ $*
+  ret=$?
 else
   # v3.3+
   valgrind -q --log-file=test.out.$$ $*
+  ret=$?
 fi
 if [ -s test.out.$$ ]; then
   cat test.out.$$
   exit 1
 fi
+exit $ret


More information about the dovecot-cvs mailing list