aboutsummaryrefslogtreecommitdiff
path: root/doval
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-10-25 15:44:28 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-10-25 15:44:28 +0000
commit0c7168e259036d9c9e7571d5a3e2bfecde67c9bd (patch)
treed152d0038be847295db5b9807d3c8af238494ee9 /doval
parentOn server, lock session username against changes in mid-session TLS (diff)
downloadopenvpn-0c7168e259036d9c9e7571d5a3e2bfecde67c9bd.tar.xz
Change to doval valgrind script. The openvpn command parameter is now
implied, so new usage is: ./doval [openvpn parms] instead of: ./doval ./openvpn [openvpn parms] git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5104 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'doval')
-rwxr-xr-xdoval4
1 files changed, 3 insertions, 1 deletions
diff --git a/doval b/doval
index af840ee..e215510 100755
--- a/doval
+++ b/doval
@@ -1,2 +1,4 @@
#!/bin/bash
-valgrind --tool=memcheck --error-limit=no --suppressions=debug/valgrind-suppress --gen-suppressions=all --leak-check=full --show-reachable=yes --num-callers=32 $*
+PROGDIR=`dirname $0`
+unset LD_LIBRARY_PATH
+valgrind --tool=memcheck --error-limit=no --suppressions=$PROGDIR/debug/valgrind-suppress --gen-suppressions=all --leak-check=full --show-reachable=yes --num-callers=32 $PROGDIR/openvpn "$@"