summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-09-20 00:36:29 +0200
committerMichael Adam <obnox@samba.org>2012-09-22 10:18:57 +0200
commitbd8d50b451ea7f94efa7777fbe5dc0c2c19f6bf9 (patch)
tree2749891d20a80eafb885ccd5b086c4b905c8225e /source4/torture
parent8e525a29a7c6512f61e4647ecb2e0771e2019a49 (diff)
downloadsamba-bd8d50b451ea7f94efa7777fbe5dc0c2c19f6bf9.tar.gz
samba-bd8d50b451ea7f94efa7777fbe5dc0c2c19f6bf9.tar.bz2
samba-bd8d50b451ea7f94efa7777fbe5dc0c2c19f6bf9.zip
s4:torture:smb2: fix the compound.invalid3 test to work against windows
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/smb2/compound.c4
1 files changed, 2 insertions, 2 deletions
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: