1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/util/tests
Volker Lendecke ecf9ba381e lib: Add str_list_add_printf()
Build up execv argument lists

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2021-05-11 22:56:37 +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 lib/util: Replace buggy string_sub_talloc() with talloc_string_sub() in lib/util 2021-03-10 08:06:25 +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 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-03 09:53:32 +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_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/util: fix timespec normalization 2021-04-16 09:38:35 +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