mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
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
This commit is contained in:
parent
0a0daebaab
commit
8bde5ea169
22
lib/util/tests/README
Normal file
22
lib/util/tests/README
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user