summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-06-03 14:01:02 +0200
committerStefan Metzmacher <metze@samba.org>2008-06-03 14:03:49 +0200
commit6610a6c49a2140747aa8e36c26f855953471140d (patch)
tree60b2b8c6adc377ce1427dfcc323786e6c09b2ee0
parentfb4c9dd5ebed4af38b3e2f6022770a7586e39926 (diff)
downloadsamba-6610a6c49a2140747aa8e36c26f855953471140d.tar.gz
samba-6610a6c49a2140747aa8e36c26f855953471140d.tar.bz2
samba-6610a6c49a2140747aa8e36c26f855953471140d.zip
BASE-DELAYWRITE: fix test on filesystem without high resolution timestamps
metze (This used to be commit fde9880f9943897549859037b0fc9341d3a032f7)
-rw-r--r--source4/torture/basic/delaywrite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/basic/delaywrite.c b/source4/torture/basic/delaywrite.c
index 0e226b788d..c7bccae08f 100644
--- a/source4/torture/basic/delaywrite.c
+++ b/source4/torture/basic/delaywrite.c
@@ -641,7 +641,7 @@ static bool test_finfo_after_write(struct torture_context *tctx, struct smbcli_s
bool err = false; \
if (strict && (g cmp c)) { \
err = true; \
- } else if (gr cmp cr) { \
+ } else if ((g cmp c) && (gr cmp cr)) { \
/* handle filesystem without high resolution timestamps */ \
err = true; \
} \