From ab52f9314dd28015786a2df6ce78a68eb5a275c5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 18 Oct 2007 01:37:46 +0200 Subject: r25689: test with a non-zero size file (This used to be commit 2a6713aa239d07f6898f507ddb3631504c379792) --- source4/torture/raw/oplock.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source4/torture/raw') diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c index 1f44f96b44..e642c1846c 100644 --- a/source4/torture/raw/oplock.c +++ b/source4/torture/raw/oplock.c @@ -1462,6 +1462,7 @@ bool torture_hold_oplock(struct torture_context *torture, for (i=0;itree, hold_info[i].fnum, 0, &c, 0, 1) != 1) { + printf("Failed to write to file\n"); + return false; + } } printf("Waiting for oplock events\n"); -- cgit