From: Ralph Boehme Date: Tue, 20 Nov 2018 14:50:52 +0000 (+0100) Subject: tfork: add a README how to run test torture test under valgrind X-Git-Tag: tdb-1.3.17~584 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bde5ea169afa62e82fb2443877b4eef6f28fece;p=thirdparty%2Fsamba.git tfork: add a README how to run test torture test under valgrind Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Wed Nov 28 15:57:43 CET 2018 on sn-devel-144 --- diff --git a/lib/util/tests/README b/lib/util/tests/README new file mode 100644 index 00000000000..c1337d5cf58 --- /dev/null +++ b/lib/util/tests/README @@ -0,0 +1,22 @@ +tfork tests +=========== + +To run the tfork torture testsuite under valgrind with the helgrind or drd +thread checkers, run valgrind with the --suppress option passing a suppressions +file. + +For helgrind: + +$ valgrind \ + --trace-children=yes \ + --tool=helgrind \ + --suppressions=lib/util/tests/tfork-helgrind.supp \ + ./bin/smbtorture ncalrpc:localhost local.tfork.tfork_threads + +For drd: + +$ valgrind \ + --trace-children=yes \ + --tool=drd \ + --suppressions=lib/util/tests/tfork-drd.supp \ + ./bin/smbtorture ncalrpc:localhost local.tfork.tfork_threads