Mercurial > dovecot > core-2.2
view run-test.sh @ 15641:19403b3926f9
Several fixes to handling "istream input line too long" conditions.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 14 Jan 2013 08:01:47 +0200 |
parents | 22e39b6bef32 |
children | f64ccd83673d |
line wrap: on
line source
#!/bin/sh trap "rm -f test.out.$$" 0 1 2 3 15 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