chiark / gitweb /
make-secnet-sites: New -P <prefix> option
[secnet.git] / test-example / README
index a6416f62000b0300fd16cb7dcb7ca254511a23e8..4c2eca30ada234c967c7c05ed577347d1b2c157d 100644 (file)
@@ -19,3 +19,8 @@ To run the test:
  Then in a third
   ping -I secnet-test-i 172.18.232.2 
  
  Then in a third
   ping -I secnet-test-i 172.18.232.2 
  
+For running under valgrind memcheck, do something like this:
+  valgrind --num-callers=40 --gen-suppressions=yes --db-attach=yes \
+    --leak-check=full --suppressions=test-example/memcheck.suppressions \
+    ./secnet -dvnc test-example/outside.conf
+NB that --num-callers is needed as secnet's stack can be deep.