summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-09-05 21:47:06 -0700
committerJeremy Allison <jra@samba.org>2008-09-05 21:47:06 -0700
commit56b6b4a68f51be8845afd024a45843331c0810ed (patch)
tree8f18fa2c88e970c2386fda64c90cb5187912c577
parent0d0fddf8ae856efd7ffb07ba8fa32d2f55d3f9c0 (diff)
downloadsamba-56b6b4a68f51be8845afd024a45843331c0810ed.tar.gz
samba-56b6b4a68f51be8845afd024a45843331c0810ed.tar.bz2
samba-56b6b4a68f51be8845afd024a45843331c0810ed.zip
Don't compare identity, it'll never be different.
Jeremy. (This used to be commit 840369b5534eee21818b9d3677404b0fc60a0219)
-rw-r--r--source4/torture/basic/delaywrite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/basic/delaywrite.c b/source4/torture/basic/delaywrite.c
index 6dfe410386..52505fa5d1 100644
--- a/source4/torture/basic/delaywrite.c
+++ b/source4/torture/basic/delaywrite.c
@@ -1469,7 +1469,7 @@ static bool test_delayed_write_update5(struct torture_context *tctx,
GET_INFO_BOTH(finfo3,pinfo3);
COMPARE_WRITE_TIME_EQUAL(finfo3, finfo2);
- if (finfo3.basic_info.out.write_time == finfo3.basic_info.out.write_time) {
+ if (finfo3.basic_info.out.write_time == finfo2.basic_info.out.write_time) {
torture_comment(tctx, "Server did not update write_time (correct)\n");
}
@@ -1638,7 +1638,7 @@ again:
GET_INFO_BOTH(finfo3,pinfo3);
COMPARE_WRITE_TIME_EQUAL(finfo3, finfo2);
- if (finfo3.basic_info.out.write_time == finfo3.basic_info.out.write_time) {
+ if (finfo3.basic_info.out.write_time == finfo2.basic_info.out.write_time) {
torture_comment(tctx, "Server did not update write_time (correct)\n");
}