]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:torture:smb2: fix compound.related3 test to work against windows (cherry picked...
authorMichael Adam <obnox@samba.org>
Wed, 19 Sep 2012 22:35:52 +0000 (00:35 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 28 Sep 2012 07:12:45 +0000 (09:12 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/torture/smb2/compound.c

index 808e01a9834627acedf42a3bf4d79d541db5482a..cca3a8d86932fdd27e36a3ae0a9876adb3434e79 100644 (file)
@@ -166,9 +166,9 @@ static bool test_compound_related2(struct torture_context *tctx,
        status = smb2_close_recv(req[2], &cl);
        CHECK_STATUS(status, NT_STATUS_FILE_CLOSED);
        status = smb2_close_recv(req[3], &cl);
-       CHECK_STATUS(status, NT_STATUS_INVALID_PARAMETER);
+       CHECK_STATUS(status, NT_STATUS_FILE_CLOSED);
        status = smb2_close_recv(req[4], &cl);
-       CHECK_STATUS(status, NT_STATUS_INVALID_PARAMETER);
+       CHECK_STATUS(status, NT_STATUS_FILE_CLOSED);
 
        tree->tid = saved_tid;
        tree->session->uid = saved_uid;