From f24ee3b4ed0ee54b754a27c855b94114ec378330 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 (cherry picked from commit bd8d50b451ea7f94efa7777fbe5dc0c2c19f6bf9) Signed-off-by: Stefan Metzmacher --- source4/torture/smb2/compound.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/torture/smb2/compound.c b/source4/torture/smb2/compound.c index fa63f3f8d18..1c2b7cc5a63 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 v1.2.1