summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-11 01:02:52 +0200
committerMichael Adam <obnox@samba.org>2009-09-11 01:02:52 +0200
commit26aa8648b614842d2974d95932f7ce3b7bd31053 (patch)
treeae54488345e51d97a189267f797483063eccc8c2 /tests
parent389f5d14641a645e8cac16402fb4e822ac7a21b2 (diff)
downloadtinyproxy-26aa8648b614842d2974d95932f7ce3b7bd31053.tar.gz
tinyproxy-26aa8648b614842d2974d95932f7ce3b7bd31053.zip
tests: add support for running tinyproxy under valgrind.
When you want to run tinyproxy under valgrind, set the environment variable VALGRIND to some useful valgrind command line. Michael
Diffstat (limited to 'tests')
-rwxr-xr-xtests/scripts/run_tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh
index 00ff32c..e3d51d4 100755
--- a/tests/scripts/run_tests.sh
+++ b/tests/scripts/run_tests.sh
@@ -94,7 +94,7 @@ EOF
start_tinyproxy() {
echo -n "starting tinyproxy..."
- $TINYPROXY_BIN -c $TINYPROXY_CONF_FILE 2> $TINYPROXY_STDERR_LOG
+ $VALGRIND $TINYPROXY_BIN -c $TINYPROXY_CONF_FILE 2> $TINYPROXY_STDERR_LOG
echo " done"
}