mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
d84779302c
The test was checking -1 twice: torture_assert(tctx, null_nttime(-1), "-1"); torture_assert(tctx, null_nttime(-1), "-1"); The first line was likely supposed to test the value "0". BUG: https://bugzilla.samba.org/show_bug.cgi?id=14127 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@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