mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
r4319: make it easy to use valgrind in the test_posix.sh test suite
This commit is contained in:
parent
32264c6c30
commit
7c09a3ea58
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user