git.samba.org
/
garming
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0e6f6c
)
r5310: allow for rounding errors in the sleep test
author
Andrew Tridgell
<tridge@samba.org>
Thu, 10 Feb 2005 07:57:09 +0000
(07:57 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:09:40 +0000
(13:09 -0500)
(This used to be commit
bd2c55a5193b29b28c4fbde643c302f0d81c95a6
)
source4/torture/rpc/echo.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/echo.c
b/source4/torture/rpc/echo.c
index dd30df7c0b53514cc3d865c89df5dc4ff2f55a82..9a2e656bfec5aa3512d619c1281923a9266abb83 100644
(file)
--- a/
source4/torture/rpc/echo.c
+++ b/
source4/torture/rpc/echo.c
@@
-263,7
+263,7
@@
static BOOL test_sleep(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
r[i].out.result, r[i].in.seconds, (uint_t)diff[i].tv_sec);
ret = False;
} else {
- if (r[i].out.result > diff[i].tv_sec) {
+ if (r[i].out.result > diff[i].tv_sec
+1
) {
printf("Failed - Sleeped for %u seconds (but reply takes only %u seconds)\n",
r[i].out.result, (uint_t)diff[i].tv_sec);
ret = False;