diff options
Diffstat (limited to 'source4/torture/raw/lock.c')
-rw-r--r-- | source4/torture/raw/lock.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/raw/lock.c b/source4/torture/raw/lock.c index 97242e8f17..4976d53b91 100644 --- a/source4/torture/raw/lock.c +++ b/source4/torture/raw/lock.c @@ -543,11 +543,13 @@ static BOOL test_async(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) status = smb_raw_lock(cli->tree, &io); CHECK_STATUS(status, NT_STATUS_OK); + t = time(NULL); status = smbcli_request_simple_recv(req); CHECK_STATUS(status, NT_STATUS_OK); if (time(NULL) > t+2) { - printf("lock cancel by unlock was not immediate (%s)\n", __location__); + printf("lock cancel by unlock was not immediate (%s) - took %d secs\n", + __location__, (int)time(NULL)-t); ret = False; goto done; } |