dovecot-2.2: run-test.sh didn't exit with failure code when the ...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jan 8 03:28:53 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/22e39b6bef32
changeset: 15584:22e39b6bef32
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 425dc9afd023 -r 22e39b6bef32 run-test.sh
--- a/run-test.sh Tue Jan 08 03:03:21 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