diff options
author | Stefan Metzmacher <metze@samba.org> | 2015-05-01 20:19:42 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2015-05-20 14:10:33 +0200 |
commit | ef5a64931ed5850ab97201534b08dcdb1a2c9872 (patch) | |
tree | 096f2624a5d0b06e64d910c8406a5b462a01a4b8 /source4/torture | |
parent | 06a7050f9f7573ad796447eadf29396aa99ebcb6 (diff) | |
download | samba-ef5a64931ed5850ab97201534b08dcdb1a2c9872.tar.gz |
s4:torture/smb2: verify STATUS_NOTIFY_CLEANUP return value
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11182
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 4bfa6b024e530694741c7c07171fa09762578389)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/smb2/notify.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/smb2/notify.c b/source4/torture/smb2/notify.c index c721d5ff775..827f5d55fc5 100644 --- a/source4/torture/smb2/notify.c +++ b/source4/torture/smb2/notify.c @@ -1304,6 +1304,7 @@ static bool torture_smb2_notify_tree_disconnect_1( CHECK_STATUS(status, NT_STATUS_OK); status = smb2_notify_recv(req, torture, &(notify.smb2)); + CHECK_STATUS(status, STATUS_NOTIFY_CLEANUP); CHECK_VAL(notify.smb2.out.num_changes, 0); done: @@ -1372,6 +1373,7 @@ static bool torture_smb2_notify_ulogoff(struct torture_context *torture, CHECK_STATUS(status, NT_STATUS_OK); status = smb2_notify_recv(req, torture, &(notify.smb2)); + CHECK_STATUS(status, STATUS_NOTIFY_CLEANUP); CHECK_VAL(notify.smb2.out.num_changes, 0); done: |