summaryrefslogtreecommitdiffstats
path: root/lib/util/tests/README
blob: c1337d5cf58b652f29707efd7de4ee9fe5ff0769 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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