X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=test-example%2FREADME;h=7ec95eabf5217ed57ad57ff5d12475e2e017d581;hb=79c6c87cf81e29ba5b881f68e94ab9994ed87f24;hp=a6416f62000b0300fd16cb7dcb7ca254511a23e8;hpb=0cf9c062e165da3e9444dfea93f25f198bb71a0e;p=secnet.git diff --git a/test-example/README b/test-example/README index a6416f6..7ec95ea 100644 --- a/test-example/README +++ b/test-example/README @@ -19,3 +19,13 @@ To run the test: 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. + +The config file outside-unshare.conf can be used on Linux in +conjunction with test-example/fake-userv and a built checkout of +userv-utils.git to run the "outside" copy of secnet in a new "network +namespace".