summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-06-03 17:39:50 +0200
committerBjörn Jacke <bj@sernet.de>2009-06-03 17:50:01 +0200
commitb3491df2f9db2c550845243975ddbf0a2f9658e6 (patch)
treeaac196b6b2908152e7195c65071a7d351098a65e /source4/torture/rpc
parentb0654b332360437e046bbc921f91df8c5b5c57e2 (diff)
downloadsamba-b3491df2f9db2c550845243975ddbf0a2f9658e6.tar.gz
samba-b3491df2f9db2c550845243975ddbf0a2f9658e6.tar.bz2
samba-b3491df2f9db2c550845243975ddbf0a2f9658e6.zip
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.
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index 30e7e0889c..94c646a91c 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);
}