1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/lib/util/tests
Ralph Boehme 7e1a65ed98 lib: add a test for null_nttime(NTTIME_THAW)
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>
(cherry picked from commit 194faa7616)
2021-11-10 14:37:13 +00:00
..
anonymous_shared.c
asn1_tests.c CVE-2020-10704: lib util asn1: Add ASN.1 max tree depth 2020-05-04 02:59:31 +00:00
binsearch.c binsearch: make BINARY_ARRAY_SEARCH_GTE compare against a pointer 2017-02-09 03:17:15 +01:00
data_blob.c
dlinklist.c dlist: remove unneeded type argument from DLIST_CONCATENATE() 2016-02-06 21:48:18 +01:00
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 lib: Add a little tool to perftest generate_random_buffer() 2015-10-13 01:23:07 +02:00
idtree.c
README tfork: add a README how to run test torture test under valgrind 2018-11-28 15:57:43 +01:00
rfc1738.c util/tests: add rfc1738 cmocka tests 2018-02-22 01:04:18 +01:00
str.c
strlist.c lib/util/tests: avoid some compiler warnings 2014-11-14 23:27:04 +01:00
strv_util.c lib/util: Add strv_util.[ch] containing new function strv_split() 2016-03-01 05:43:19 +01:00
strv.c lib/util: Add tests for strv_addn() 2016-02-29 15:18:17 +01:00
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_memcache.c lib:util: Add cache oversize test for memcache 2021-02-09 12:27:16 +00:00
test_ms_fnmatch.c Fix uClibc build on 64bit platforms by including stdint.h 2019-05-19 17:34:20 +00:00
test_sys_rw.c lib: add sys_io_ranges_overlap() 2021-08-11 09:54:14 +00:00
test_talloc_keep_secret.c lib:util: Add test for talloc_keep_secret() 2019-04-03 06:48:21 +00:00
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: add a suppresssions file for drd 2018-11-28 12:59:28 +01:00
tfork-helgrind.supp tfork: add a suppresssions file for helgrind 2018-11-28 12:59:28 +01:00
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-11-10 14:37:13 +00:00
util_str_escape.c lib/util: Add functions to escape log lines but not break all non-ascii 2017-03-29 02:37:26 +02:00
util.c lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +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