diff options
Diffstat (limited to 'source4/torture/smb2/connect.c')
-rw-r--r-- | source4/torture/smb2/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smb2/connect.c b/source4/torture/smb2/connect.c index bd11f310d9..7d2773ebb6 100644 --- a/source4/torture/smb2/connect.c +++ b/source4/torture/smb2/connect.c @@ -220,7 +220,7 @@ BOOL torture_smb2_connect(struct torture_context *torture) } status = smb2_util_close(tree, h1); - if (!NT_STATUS_EQUAL(status, NT_STATUS_NOT_FOUND)) { + if (!NT_STATUS_EQUAL(status, NT_STATUS_FILE_CLOSED)) { printf("close should have closed the handle - %s\n", nt_errstr(status)); return False; } |