From bd8d50b451ea7f94efa7777fbe5dc0c2c19f6bf9 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 20 Sep 2012 00:36:29 +0200 Subject: s4:torture:smb2: fix the compound.invalid3 test to work against windows --- source4/torture/smb2/compound.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/smb2/compound.c') diff --git a/source4/torture/smb2/compound.c b/source4/torture/smb2/compound.c index fa63f3f8d1..1c2b7cc5a6 100644 --- a/source4/torture/smb2/compound.c +++ b/source4/torture/smb2/compound.c @@ -548,9 +548,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: -- cgit