mirror of
https://github.com/samba-team/samba.git
synced 2025-02-21 01:59:07 +03:00
The standard string to integer conversion routines return zero if a string was to be converted which did not reflect a number. It is not flag'ed as an error. The wrapper functions strtoul_err() and strtoull_err() are expected to exactly do this. Signed-off-by: Swen Schillig <swen@linux.ibm.com> Reviewed-by: Ralph Boehme <slow@samba.org> Reviewed-by: Christof Schmitt <cs@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