From: Vsevolod Stakhov Date: Mon, 30 Apr 2018 19:01:55 +0000 (+0100) Subject: [Test] Try to fix AV tests X-Git-Tag: 1.7.4~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8329774d43fbe788a0c4a1b48542aa7d6e1536de;p=rspamd.git [Test] Try to fix AV tests --- diff --git a/test/functional/cases/160_antivirus.robot b/test/functional/cases/160_antivirus.robot index edc063445..1516ae1b5 100644 --- a/test/functional/cases/160_antivirus.robot +++ b/test/functional/cases/160_antivirus.robot @@ -24,17 +24,17 @@ CLAMAV HIT Run Dummy Clam ${PORT_CLAM} 1 ${result} = Scan Message With Rspamc ${MESSAGE2} Check Rspamc ${result} CLAM_VIRUS (1.00)[Eicar-Test-Signature] - Should Not Contain ${result.stdout} FPROT_ + Should Not Contain ${result.stdout} CLAMAV_FAIL CLAMAV CACHE HIT ${result} = Scan Message With Rspamc ${MESSAGE2} Check Rspamc ${result} CLAM_VIRUS (1.00)[Eicar-Test-Signature] - Should Not Contain ${result.stdout} FPROT_ + Should Not Contain ${result.stdout} CLAMAV_FAIL CLAMAV CACHE MISS ${result} = Scan Message With Rspamc ${MESSAGE} Check Rspamc ${result} CLAM_VIRUS inverse=1 - Should Not Contain ${result.stdout} FPROT_ + Should Not Contain ${result.stdout} CLAMAV_FAIL FPROT MISS Run Dummy Fprot ${PORT_FPROT} @@ -63,7 +63,7 @@ FPROT CACHE HIT FPROT CACHE MISS ${result} = Scan Message With Rspamc ${MESSAGE2} - Check Rspamc ${result} FPROT_ inverse=1 + Check Rspamc ${result} FPROT_VIRUS inverse=1 *** Keywords *** Antivirus Setup