summaryrefslogtreecommitdiff
path: root/source4/script/tests/test_functions.sh
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-17 12:23:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:35 -0500
commit1735037d5f2b3dc1fa9f5d21721a7dc00c869172 (patch)
tree9cf024480ffec80df154c60872f069036ac34c93 /source4/script/tests/test_functions.sh
parent039393d6620816789b4ebd131974b23b6420f4dc (diff)
downloadsamba-1735037d5f2b3dc1fa9f5d21721a7dc00c869172.tar.gz
samba-1735037d5f2b3dc1fa9f5d21721a7dc00c869172.tar.bz2
samba-1735037d5f2b3dc1fa9f5d21721a7dc00c869172.zip
r8525: added two more test targets:
- 'make quicktest' for running only quick tests. Finishes in 20 seconds or so. - 'make valgrindtest' runs smbd under valgrind in a xterm window and runs the quick tests. Also disables tls as that slows down valgrind too much to be usable (This used to be commit af36bc401154d278dbe272628110634f62fdba25)
Diffstat (limited to 'source4/script/tests/test_functions.sh')
-rw-r--r--source4/script/tests/test_functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/script/tests/test_functions.sh b/source4/script/tests/test_functions.sh
index 2ddf1edb8f..366b4c1c48 100644
--- a/source4/script/tests/test_functions.sh
+++ b/source4/script/tests/test_functions.sh
@@ -19,7 +19,7 @@ smbd_check_or_start() {
echo -n "STARTING SMBD..."
((
- $SRCDIR/bin/smbd --maximum-runtime=1800 -d1 -s $CONFFILE -M single -i < $SMBD_TEST_FIFO > $SMBD_TEST_LOG 2>&1;
+ $SMBD_VALGRIND $SRCDIR/bin/smbd --maximum-runtime=1800 -d1 -s $CONFFILE -M single -i < $SMBD_TEST_FIFO > $SMBD_TEST_LOG 2>&1;
ret=$?;
rm -f $SMBD_TEST_FIFO;
if [ -n "$SOCKET_WRAPPER_DIR" -a -d "$SOCKET_WRAPPER_DIR" ]; then