summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-10-16 20:20:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:13 -0500
commit4177cf9926a62c3026fbd5c5323cbdd1f0f361bd (patch)
tree9d5366bf15cf23be13867474ead05fd4e9d1f47f
parent52e3f69a36b6ba6a589a8f768fbee77ee06b281c (diff)
downloadsamba-4177cf9926a62c3026fbd5c5323cbdd1f0f361bd.tar.gz
samba-4177cf9926a62c3026fbd5c5323cbdd1f0f361bd.tar.bz2
samba-4177cf9926a62c3026fbd5c5323cbdd1f0f361bd.zip
r19344: run smbclient and cifsdd under valgrind and pass the correct configuration
to get useful backtraces in the build-farm metze (This used to be commit fa030e45985c39a7e4b6be032e817f1291357a45)
-rwxr-xr-xsource4/script/tests/test_cifsdd.sh2
-rwxr-xr-xsource4/script/tests/test_smbclient.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/script/tests/test_cifsdd.sh b/source4/script/tests/test_cifsdd.sh
index f19dd9cf76..a8cc30a8a6 100755
--- a/source4/script/tests/test_cifsdd.sh
+++ b/source4/script/tests/test_cifsdd.sh
@@ -29,7 +29,7 @@ runcopy() {
message="$1"
shift
- testit "$message" $DD --debuglevel=$DEBUGLEVEL -W "$DOMAIN" -U "$USERNAME"%"$PASSWORD" \
+ testit "$message" $VALGRIND $DD $CONFIGURATION --debuglevel=$DEBUGLEVEL -W "$DOMAIN" -U "$USERNAME"%"$PASSWORD" \
"$@"
}
diff --git a/source4/script/tests/test_smbclient.sh b/source4/script/tests/test_smbclient.sh
index 600e0e4a1b..08f5cad618 100755
--- a/source4/script/tests/test_smbclient.sh
+++ b/source4/script/tests/test_smbclient.sh
@@ -18,7 +18,7 @@ failed=0
runcmd() {
name="$1"
shift
- testit "$name" bin/smbclient //$SERVER/tmp -W "$DOMAIN "-U"$USERNAME"%"$PASSWORD" $@
+ testit "$name" $VALGRIND bin/smbclient $CONFIGURATION //$SERVER/tmp -W "$DOMAIN "-U"$USERNAME"%"$PASSWORD" $@
}
incdir=`dirname $0`