summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-05-14 19:26:00 +1200
committerAndrew Bartlett <abartlet@samba.org>2014-05-16 10:23:26 +0200
commit66c099cc58e3140d08ef0890550c647e51a4a641 (patch)
tree81cd9f4dad4785b299846edd7cd32fdac86b26a1 /testprogs
parent1e9750a8324898f7182a0f7101f7cce4932f542b (diff)
downloadsamba-66c099cc58e3140d08ef0890550c647e51a4a641.tar.gz
selftest: Run pdbtest under valgrind if specified
Change-Id: I21e169ba563551e13c46f07f86205625ad166c64 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE>
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/blackbox/test_pdbtest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/testprogs/blackbox/test_pdbtest.sh b/testprogs/blackbox/test_pdbtest.sh
index af822f9cc70..77865a09ec5 100755
--- a/testprogs/blackbox/test_pdbtest.sh
+++ b/testprogs/blackbox/test_pdbtest.sh
@@ -45,7 +45,7 @@ test_smbclient() {
UID_WRAPPER_ROOT=1
export UID_WRAPPER_ROOT
-testit "pdbtest" $BINDIR/pdbtest -u pdbtest || failed=`expr $failed + 1`
+testit "pdbtest" $VALGRIND $BINDIR/pdbtest -u pdbtest || failed=`expr $failed + 1`
NEWUSERPASS=testPaSS@01%