1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-09 09:57:48 +03:00
Douglas Bagnall 10c0087dac util:test: test_ms_fn_match_protocol_no_wildcard: allow -1
We have changed strcasecmp_m() to return -1 in a place where it used
to return -3. This upset a test, but it shouldn't have: the exact
value of the negative int is not guaranteed by the function.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15625

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit d4ce8231f986a359dc657cd1a6b416270a53c7d3)
2024-06-10 13:24:16 +00:00
..
2023-04-14 05:25:33 +00:00
2024-06-10 13:24:16 +00:00
2023-01-10 00:28:37 +00:00
2023-04-14 05:25:33 +00:00
2021-05-11 22:56:37 +00:00
2021-03-09 22:36:28 +00:00
2016-02-29 15:18:17 +01:00
2020-02-21 02:09:33 +00:00
2019-09-01 22:21:26 +00:00

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