mirror of
https://github.com/samba-team/samba.git
synced 2025-02-21 01:59:07 +03:00
When fixing up timespec structs, negative values for the ns part should be taken into account. Also, the range for a valid ns part is [0, 1000000000), not [0, 1000000000]. Signed-off-by: Philipp Gesang <philipp.gesang@intra2net.com> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
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