From 324ab03caf41e6f63d11b3b20fd0bab81587c51f Mon Sep 17 00:00:00 2001 From: asolino Date: Tue, 4 Sep 2018 16:41:28 -0300 Subject: [PATCH] Fixing test case --- tests/SMB_RPC/test_srvs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/SMB_RPC/test_srvs.py b/tests/SMB_RPC/test_srvs.py index c0e0074e9..b126150b5 100644 --- a/tests/SMB_RPC/test_srvs.py +++ b/tests/SMB_RPC/test_srvs.py @@ -196,7 +196,7 @@ def test_hNetrFileClose(self): resp.dump() except Exception, e: # I might be closing myself ;) - if str(e).find('STATUS_PIPE_BROKEN') < 0 and str(e).find('STATUS_FILE_CLOSED') < 0 and str(e).find('STATUS_INVALID_HANDLE') < 0: + if str(e).find('STATUS_PIPE_BROKEN') < 0 and str(e).find('STATUS_FILE_CLOSED') < 0 and str(e).find('STATUS_INVALID_HANDLE') < 0 and str(e).find('0x90a') < 0: raise def test_NetrSessionEnum(self):