summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-05-05 15:05:41 +0200
committerStefan Metzmacher <metze@samba.org>2008-06-03 11:17:17 +0200
commitfb4c9dd5ebed4af38b3e2f6022770a7586e39926 (patch)
tree28298dca7930a95a90b22ab8d548290198c3a7ba /source4
parent28f697322e67ec11de964a2ff4604352c1034e66 (diff)
downloadsamba-fb4c9dd5ebed4af38b3e2f6022770a7586e39926.tar.gz
samba-fb4c9dd5ebed4af38b3e2f6022770a7586e39926.tar.bz2
samba-fb4c9dd5ebed4af38b3e2f6022770a7586e39926.zip
BASE-DELAYWRITE: add missing time checks to make sure the server has updated the write time
metze (This used to be commit 9c004df8910c07d75bb3f75d7c3cfba9f9c94f51)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/basic/delaywrite.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/basic/delaywrite.c b/source4/torture/basic/delaywrite.c
index 84adfef61a..0e226b788d 100644
--- a/source4/torture/basic/delaywrite.c
+++ b/source4/torture/basic/delaywrite.c
@@ -828,6 +828,7 @@ static bool test_delayed_write_update3(struct torture_context *tctx,
}
GET_INFO_BOTH(finfo1,pinfo1);
+ COMPARE_WRITE_TIME_GREATER(pinfo1, pinfo0);
/* sure any further write doesn't update the write time */
start = timeval_current();
@@ -982,6 +983,7 @@ static bool test_delayed_write_update4(struct torture_context *tctx,
}
GET_INFO_BOTH(finfo1,pinfo1);
+ COMPARE_WRITE_TIME_GREATER(pinfo1, pinfo0);
/* sure any further write doesn't update the write time */
start = timeval_current();