git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e14ccc
)
s3:torture: fix password timestamp checks on NetBSD
author
Björn Jacke
<bj@sernet.de>
Wed, 3 Jun 2009 15:39:50 +0000
(17:39 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Fri, 5 Jun 2009 08:59:46 +0000
(10:59 +0200)
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.
(cherry picked from commit
b3491df2f9db2c550845243975ddbf0a2f9658e6
)
source4/torture/rpc/samr.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/samr.c
b/source4/torture/rpc/samr.c
index c8177d7bfd767fb9d237ebe9202e3f2e8adc70a6..d7d6773e7a2613129719af66cb44fb7e6d9cac41 100644
(file)
--- a/
source4/torture/rpc/samr.c
+++ b/
source4/torture/rpc/samr.c
@@
-2910,7
+2910,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);
}