1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/lib/util/tests/README
Ralph Boehme 8bde5ea169 tfork: add a README how to run test torture test under valgrind
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Nov 28 15:57:43 CET 2018 on sn-devel-144
2018-11-28 15:57:43 +01:00

23 lines
553 B
Plaintext

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