mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
c7254de6fd
The executables generated from lib/util/tests/test_logging.c are used by the samba.tests.logfiles tests to test logging with various smb.confs that assign classes to various files at different levels etc. Previously test_logging.c had its own version of the table; now it shares one with debug.c We put the table in a sub-directory (lib/util/debug-classes/), because adding local_include=True to the wscript_build stanza causes the compiler confusion between <time.h> and lib/util/time.h. Note: there are still two other lists of the class names, in python/samba/tests/logfiles.py and docs-xml/smbdotconf/logging/loglevel.xml. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> |
||
---|---|---|
.. | ||
anonymous_shared.c | ||
asn1_tests.c | ||
binsearch.c | ||
data_blob.c | ||
dlinklist.c | ||
file.c | ||
genrand.c | ||
genrandperf.c | ||
idtree.c | ||
README | ||
rfc1738.c | ||
str.c | ||
strlist.c | ||
strv_util.c | ||
strv.c | ||
test_bytearray.c | ||
test_byteorder_verify.c | ||
test_byteorder.c | ||
test_logging.c | ||
test_memcache.c | ||
test_ms_fnmatch.c | ||
test_sys_rw.c | ||
test_talloc_keep_secret.c | ||
test_util_paths.c | ||
test_util.c | ||
tfork-drd.supp | ||
tfork-helgrind.supp | ||
tfork.c | ||
time.c | ||
util_str_escape.c | ||
util.c |
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