1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4
Michael Adam ca9e46d130 s4:torture:basic: eliminate potential for false failures in delayed_write_update1c
We want to test that the write did update the write time immediately.
We check this by getting the file info in a loop for a few seconds.
There are several result cases:

- the server updated the write time immediately - success
- the server updated the write time, but not immediately - failure
- the server did not update the write time - failure

The loop is only there to be able to discern between the two
failure cases. The check for success is whether the first
getinfo has reportet the updated write time.

The potential for false failures was the additional timing check.
So if the first fileinfo call just took too long (e.g. due to a
busy system), this was reported as failure.

This patch should eliminate interemittent autobuild failures.

Signed-off-by: Michael Adam <obnox@samba.org>

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-10-03 08:34:06 +02:00
..
auth s4-auth/kerberos: fix salting principal, make sure hostname is lowercase. 2014-09-26 23:37:09 +02:00
build/pasn1
cldap_server s3/s4: smbd, rpc, ldap, cldap, kdc services. 2014-06-07 01:01:43 +02:00
client s4:client: fix some compiler warnings 2014-02-13 11:54:13 +01:00
cluster s4:cluster: use DBWRAP_LOCK_ODER_NONE for local_db_tmp_open() 2014-02-07 16:06:07 +01:00
dns_server s4:dlz_bind9: let dlz_bind9 use dns_common_lookup() before add/modify 2014-08-27 15:21:19 +02:00
dsdb repl: Specify the target realm in dreplsrv_get_target_principal() 2014-09-30 14:58:50 +02:00
echo_server s4:echo_server fix compiler warnings 2013-12-12 14:21:28 -08:00
heimdal s4-heimdal: fix krb5_get_init_creds_opt_set_process_last_req(). 2014-08-08 06:02:35 +02:00
heimdal_build s4-heimdal: do not build rkpty anymore. 2014-09-01 15:47:33 +02:00
include Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls. 2012-06-28 17:15:16 -07:00
kdc Fix commented out code in kpasswd server to use correct function 2014-09-27 01:35:36 +02:00
ldap_server lib: directory_create_or_exist() does not use "uid" parameter 2014-07-28 22:04:13 +02:00
lib ncacn_http: Authentication modules for http library 2014-09-22 23:09:08 +02:00
libcli s4:libcli/tcon: remove unused smb2_tree_connect*() 2014-09-30 23:35:08 +02:00
libnet s4:librpc: use authenticated epmapping for ncacn_http 2014-09-23 01:34:05 +02:00
librpc idl: Add frs blobs for dumping of frs related blobs with ndrdump 2014-10-02 12:02:01 +02:00
nbt_server s4:nbt_server/wins: make use explicit use of the top level event context 2014-05-13 00:08:12 +02:00
ntp_signd build: Build with system md5.h on OpenIndiana 2013-06-19 21:32:36 +02:00
ntptr spoolss: make spoolss deal with ndr64 SetForm by using proper container object. 2013-01-17 17:11:37 +01:00
ntvfs tdb_wrap: Only pull in samba-debug 2014-09-18 20:36:11 +02:00
param s4:param/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:45 +02:00
rpc_server idl: Merge NETR_TRUST and LSA_TRUST definitions into one set only in lsa.idl 2014-09-27 01:35:36 +02:00
script find_unused_macros: Remove obsolete script that finds unused macros. 2014-08-31 21:21:13 +02:00
scripting samba_dnsupdate: Look for ForestDnsZones in the right place 2014-09-27 22:09:29 +02:00
selftest selftest: Make the wbinfo userinfo tests work properly with the qualified name 2014-07-04 02:52:35 +02:00
setup s4:setup/dns_update_list: make use of the new substitution variables 2014-08-26 11:38:54 +02:00
smb_server lib: Move "large_file_support()" to the source4 smb server 2014-09-17 00:31:21 +02:00
smbd smbd4: Remove process_model_thread 2014-07-31 13:58:10 +02:00
torture s4:torture:basic: eliminate potential for false failures in delayed_write_update1c 2014-10-03 08:34:06 +02:00
utils Typo: s/preceeded/preceded/ 2014-04-14 03:51:15 +02:00
web_server s4:lib/socket: simplify iface_list_wildcard() and its callers 2014-03-07 02:18:17 +01:00
winbind winbindd: Do not use group_list->out.resume_index after free 2014-09-08 07:26:34 +02:00
wrepl_server Remove all uses of the NT_STATUS_NOT_OK_RETURN_AND_FREE macro from the codebase. 2014-03-05 16:33:22 +01:00
.clang_complete
.valgrind_suppressions
wscript_build Do not install smbclient4 and nmblookup4 2014-04-15 03:25:13 +02:00