From 73b3e7b286c18dc692fe49f66fc3db4918c3bad8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 21 Dec 2004 11:49:01 +0000 Subject: r4319: make it easy to use valgrind in the test_posix.sh test suite (This used to be commit 7c09a3ea581e08bb34972d657d11d7e03b832b65) --- source4/script/tests/test_posix.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/script') diff --git a/source4/script/tests/test_posix.sh b/source4/script/tests/test_posix.sh index 06bb43abad..9c46b83552 100755 --- a/source4/script/tests/test_posix.sh +++ b/source4/script/tests/test_posix.sh @@ -20,7 +20,7 @@ testit() { trap "rm -f test.$$" EXIT cmdline="$*" - if ! $cmdline > test.$$ 2>&1; then + if ! $cmdline > test.$$; then cat test.$$; rm -f test.$$; echo "TEST FAILED - $cmdline"; @@ -52,5 +52,5 @@ for t in $tests; do fi start="" echo Testing $t - testit bin/smbtorture $unc -U"$username"%"$password" $t + testit $VALGRIND bin/smbtorture $unc -U"$username"%"$password" $t done -- cgit