s4:torture:smb2: fix compound.related3 test to work against windows
authorMichael Adam <obnox@samba.org>
Wed, 19 Sep 2012 22:35:52 +0000 (00:35 +0200)
committerMichael Adam <obnox@samba.org>
Sat, 22 Sep 2012 08:18:56 +0000 (10:18 +0200)
source4/torture/smb2/compound.c

index 0eef3695bdbb12d8380641d24bb400e553157c73..fa63f3f8d184ec47b6acda035c61f338f593fa47 100644 (file)
@@ -190,9 +190,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);
 
        TALLOC_FREE(tree->smbXcli);
        tree->smbXcli = saved_tcon;