The branch, master has been updated
       via  b3491df2f9db2c550845243975ddbf0a2f9658e6 (commit)
      from  b0654b332360437e046bbc921f91df8c5b5c57e2 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit b3491df2f9db2c550845243975ddbf0a2f9658e6
Author: Björn Jacke <[email protected]>
Date:   Wed Jun 3 17:39:50 2009 +0200

    s3:torture: fix password timestamp checks on NetBSD
    
    The Open Group says:
    
    "The useconds argument [of usleep] must be less than 1,000,000."
    
    NetBSD takes this seriously. usleep of more than 999999 are effectless.

-----------------------------------------------------------------------

Summary of changes:
 source4/torture/rpc/samr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index 30e7e08..94c646a 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -2891,7 +2891,7 @@ static bool test_SetPassword_pwdlastset(struct 
dcerpc_pipe *p,
        struct dcerpc_pipe *np = NULL;
 
        if (torture_setting_bool(tctx, "samba3", false)) {
-               delay = 1000000;
+               delay = 999999;
                printf("Samba3 has second granularity, setting delay to: %d\n",
                        delay);
        }


-- 
Samba Shared Repository

Reply via email to