]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:torture:smb2: fix the compound.invalid3 test to work against windows (cherry picke...
authorMichael Adam <obnox@samba.org>
Wed, 19 Sep 2012 22:36:29 +0000 (00:36 +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 cca3a8d86932fdd27e36a3ae0a9876adb3434e79..cd074471bca96d5469c140937c5ee42488c8837c 100644 (file)
@@ -439,9 +439,9 @@ static bool test_compound_invalid3(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);
 
        smb2_util_unlink(tree, fname);
 done: