mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
a4dea49411
It might be useful to see timestamps for some smbtorture tests. Timestamps can be printed via 'debug syslog format=always'. It can be specified either in smb.conf or directly via smbtorture option -T 'OPTION=VALUE' smb.conf option line However, smbtorture is not evaluating the option. It needs to call reopen_logs()->debug_set_settings() to copy 'Globals.debug_syslog_format' to 'state->settings.debug_syslog_format' $ bin/smbtorture3 //foo/bar -U% LOCAL-G-LOCK4 -d10 -T 'debug syslog format=always' Before: dbwrap_lock_order_unlock: release lock order 3 for /home/pfilipen/ws/projects/samba/smbtorture/st/client/lockdir/g_lock.tdb waited child 2473726 exited with 0 g_lock_lock_retry: watch_recv returned NT_STATUS_OK After (see 1 sec delay): 2024-10-13T21:26:56.476859+00:00 addc.addom.samba.example.com smbtorture[2473806]: dbwrap_lock_order_unlock: release lock order 3 for /home/pfilipen/ws/projects/samba/smbtorture/st/client/lockdir/g_lock.tdb waited child 2473807 exited with 0 2024-10-13T21:26:57.487363+00:00 addc.addom.samba.example.com smbtorture[2473806]: g_lock_lock_retry: watch_recv returned NT_STATUS_OK Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> |
||
---|---|---|
.. | ||
bench_pthreadpool.c | ||
cmd_vfs.c | ||
denytest.c | ||
locktest2.c | ||
mangle_test.c | ||
msg_sink.c | ||
msg_source.c | ||
msgtest.c | ||
nbench.c | ||
nbio.c | ||
pdbtest.c | ||
proto.h | ||
scanner.c | ||
test_addrchange.c | ||
test_async_echo.c | ||
test_authinfo_structs.c | ||
test_buffersize.c | ||
test_case_insensitive.c | ||
test_chain3.c | ||
test_cleanup.c | ||
test_ctdbd_conn.c | ||
test_dbwrap_ctdb.c | ||
test_dbwrap_do_locked.c | ||
test_dbwrap_watch.c | ||
test_g_lock.c | ||
test_hidenewfiles.c | ||
test_idmap_cache.c | ||
test_idmap_tdb_common.c | ||
test_matching.c | ||
test_messaging_fd_passing.c | ||
test_messaging_read.c | ||
test_messaging_send_all.c | ||
test_namemap_cache.c | ||
test_notify_online.c | ||
test_notify.c | ||
test_nttrans_create.c | ||
test_nttrans_fsctl.c | ||
test_oplock_cancel.c | ||
test_posix_append.c | ||
test_posix.c | ||
test_pthreadpool_tevent.c | ||
test_readdir_timestamp.c | ||
test_rpc_scale.c | ||
test_smb1_dfs.c | ||
test_smb2.c | ||
test_smbsock_any_connect.c | ||
test_tdb_validate.c | ||
torture.c | ||
utable.c | ||
vfstest_chain.c | ||
vfstest.c | ||
vfstest.h | ||
wbc_async.c | ||
wbc_async.h | ||
wscript_build |