1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/torture
Tim Beale 597428943b tests: Move repeated code into a helper function
Several tests hang all the objects they create off a unique OU.
Having a common OU makes cleanup easier, and having a unique OU (i.e.
adding some randomness) helps protect against one-off test failures
(Replication between testenvs is happening in the background.
Occasionally, when a test finishes on one testenv and moves onto the
next testenv, that testenv may have received the replicated test
objects from the first testenv, but has not received their deletion
yet).

Rather than copy-n-pasting this code yet again, split it out into a
helper function.

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
2018-05-11 06:01:23 +02:00
..
auth s4: popt: Global replace of cmdline_credentials -> popt_get_cmdline_credentials(). 2017-05-11 20:30:13 +02:00
basic s4: torture: Test all combinations of directory open with existing directory to ensure behavior is the same. 2018-03-29 23:13:41 +02:00
dfs s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
dns samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
drs tests: Move repeated code into a helper function 2018-05-11 06:01:23 +02:00
gpo samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
krb5 s4-smbtorture: Show that the KDC provides no protection from CVE-2017-11103 2017-11-02 07:16:50 +01:00
ldap s4-cldap/netlogon: Match Windows 2012R2 and return NETLOGON_NT_VERSION_5 when version unspecified 2017-07-28 00:25:15 +02:00
ldb ldb: Avoid multiple tiny allocations during full DB scan 2016-08-31 10:53:09 +02:00
libnet samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
libnetapi s4: popt: Global replace of cmdline_credentials -> popt_get_cmdline_credentials(). 2017-05-11 20:30:13 +02:00
libsmbclient tests: libsmbclient: Add a readdirplus() test suite. 2018-05-05 04:31:18 +02:00
local s4:torture: Fix size types in nss tests 2018-03-20 23:16:15 +01:00
man docs: remove duplicate mention of "smbtorture" in smbtorture manpage. 2013-11-19 09:52:39 +01:00
nbench s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
nbt libdgram: Remove an unused parameter 2018-02-27 09:14:17 +01:00
ndr s4-torture: point out why we cannot validate MSZIP compressed files 2017-07-20 01:38:02 +02:00
ntp s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
rap s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
raw s4:torture: Fix size types in qfileinfo test 2018-03-20 23:16:15 +01:00
rpc selftest: consistently produce high-res UTC time 2018-03-22 13:26:44 +01:00
smb2 torture: Test compound request request counters 2018-04-12 14:38:39 +02:00
tests s4-torture: Fix kinit of samba4.blackbox.locktest 2017-04-29 23:31:10 +02:00
unix s4:torture: Improve error message in whoami test 2018-01-14 22:09:24 +01:00
vfs s4/torture: spelling fix in vfs_fruit test 2018-04-07 02:11:20 +02:00
winbind s4: popt: Global replace of cmdline_credentials -> popt_get_cmdline_credentials(). 2017-05-11 20:30:13 +02:00
gentest.c s4: torture: Remove talloc_autofree_context() from gentest. 2017-05-05 15:52:14 +02:00
locktest.c s4: torture: Remove talloc_autofree_context() from locktest. 2017-05-05 15:52:14 +02:00
masktest.c s4:torture: Fix comparison between pointer and zero character constant 2017-06-01 23:42:58 +02:00
shell.c s4: popt: Global replace of cmdline_credentials -> popt_get_cmdline_credentials(). 2017-05-11 20:30:13 +02:00
smbtorture.c s4: popt: Change from talloc_autofree_context() to NULL context. 2017-05-11 20:30:13 +02:00
smbtorture.h s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
torture.c s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
util_smb.c s4:torture: Fix size types in torture_create_procs() 2018-04-03 20:20:10 +02:00
util.h torture: Add a new w2k12 target 2013-09-05 13:46:10 -07:00
wscript_build gpo: Add gpo tests 2017-11-20 21:41:15 +01:00