diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-02-26 20:16:26 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-04-02 09:03:43 +0200 |
commit | 5686c80966f3f58dbe7601c72f07662fd6cedbef (patch) | |
tree | 1ea2260f7d9df415e2cac37c1e343f07596c1529 /source3 | |
parent | 70b7ef957376f1bcf4a223fd62639b3bcddd1003 (diff) | |
download | samba-5686c80966f3f58dbe7601c72f07662fd6cedbef.tar.gz samba-5686c80966f3f58dbe7601c72f07662fd6cedbef.tar.xz samba-5686c80966f3f58dbe7601c72f07662fd6cedbef.zip |
s3:torture: check the result of cli_nt_delete_on_close_recv() in test_notify.c
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/torture/test_notify.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/torture/test_notify.c b/source3/torture/test_notify.c index e1755ad20c..35e64bcd12 100644 --- a/source3/torture/test_notify.c +++ b/source3/torture/test_notify.c @@ -579,6 +579,10 @@ static void notify_bench3_del_on_close_set(struct tevent_req *subreq) status = cli_nt_delete_on_close_recv(subreq); TALLOC_FREE(subreq); + if (tevent_req_nterror(req, status)) { + return; + } + subreq = cli_close_send(state, state->ev, state->cli, state->dnum); if (tevent_req_nomem(subreq, req)) { return; |