]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
tests: Add disabled valgrind command.
authorSimon Ruderich <simon@ruderich.org>
Mon, 29 Jul 2013 11:26:47 +0000 (13:26 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 29 Jul 2013 11:26:47 +0000 (13:26 +0200)
Makes it easy to run the tests with valgrind.

tests/common.sh

index c41c32dd0f9b1d2901c1a522d618fb7d7ee9ce30..f141cb2c2736e5f79ea93afc4c30d770cab693b2 100644 (file)
@@ -55,6 +55,7 @@ tlsproxy_add() {
     "$srcdir/../src/tlsproxy-add" "$1" < "$srcdir/$2" >/dev/null 2>&1
 }
 tlsproxy() {
+    #valgrind --leak-check=full --error-exitcode=1 --track-fds=yes \
     ../src/tlsproxy -d2 "$@" >tlsproxy-log 2>&1 &
     pid_tlsproxy=$!
 }