diff options
Diffstat (limited to 'source4/torture/basic')
-rw-r--r-- | source4/torture/basic/delaywrite.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/torture/basic/delaywrite.c b/source4/torture/basic/delaywrite.c index df90e400073..63bfa829ca1 100644 --- a/source4/torture/basic/delaywrite.c +++ b/source4/torture/basic/delaywrite.c @@ -744,9 +744,10 @@ static bool test_delayed_write_update1c(struct torture_context *tctx, struct smb finfo3.all_info.out.write_time, "Server did not update write time on " "close (wrong!)"); - if (finfo3.all_info.out.write_time < pinfo4.all_info.out.write_time) { - torture_comment(tctx, "Server updated write time on close (correct)\n"); - } + torture_assert(tctx, + pinfo4.all_info.out.write_time > finfo3.all_info.out.write_time, + "Server updated write time on close, but to an earlier point " + "in time"); if (fnum1 != -1) smbcli_close(cli->tree, fnum1); |