1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/lib/util/tests
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 d4ce8231f9)
2024-06-10 13:24:16 +00:00
..
anonymous_shared.c
asn1_tests.c lib:util: Fix code spelling 2023-04-14 05:25:33 +00:00
binsearch.c util:binsearch: user NUMERIC_CMP() 2024-06-10 13:24:16 +00:00
data_blob.c lib/util: Add test of data_blob_equal_const_time() 2022-06-09 22:49:29 +00:00
dlinklist.c
file.c s4-torture: test file_line_parse as well 2020-11-13 17:47:33 +00:00
genrand.c util: Free memory in genrand torture test to satisfy sanitizer 2019-08-08 10:08:32 +00:00
genrandperf.c
idtree.c lib: Remove idtree from samba_util.h 2023-01-10 00:28:37 +00:00
README
rfc1738.c lib:util: Fix code spelling 2023-04-14 05:25:33 +00:00
str.c torture: talloc_string_sub tests for utf-8 brevity 2021-06-18 03:39:28 +00:00
strlist.c lib: Add str_list_add_printf() 2021-05-11 22:56:37 +00:00
strv_util.c lib: Align integer types 2021-03-09 22:36:28 +00:00
strv.c
test_bytearray.c lib:util: Add bytearray.h 2020-02-21 02:09:33 +00:00
test_byteorder_verify.c lib:util: Add test to verify old and new macros are the same 2020-02-21 02:09:33 +00:00
test_byteorder.c lib:util: Add a test for byteorder.h 2019-05-17 20:44:36 +00:00
test_logging.c util/debug: share classname table with tests 2022-06-17 01:28:30 +00:00
test_memcache.c lib:util: Add cache oversize test for memcache 2021-02-03 09:53:32 +00:00
test_ms_fnmatch.c util:test: test_ms_fn_match_protocol_no_wildcard: allow -1 2024-06-10 13:24:16 +00:00
test_stable_sort.c util: add stable sort functions 2022-12-01 22:56:39 +00:00
test_sys_rw.c lib: add sys_block_align[_truncate]() 2021-10-08 19:28:32 +00:00
test_talloc_keep_secret.c
test_util_paths.c util: fix build on AIX by fixing the order of replace.h include 2020-06-29 18:19:04 +00:00
test_util.c lib:util: Add directory_create_or_exists_recursive() 2021-01-06 22:51:35 +00:00
tfork-drd.supp
tfork-helgrind.supp
tfork.c Spelling fixes s/avaiable/available/ 2019-09-01 22:21:26 +00:00
time.c lib: add a test for null_nttime(NTTIME_THAW) 2021-10-28 18:11:28 +00:00
util_str_escape.c
util.c lib/util: Add test of mem_equal_const_time() 2022-06-09 22:49:29 +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