diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-09-29 17:26:14 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-09-29 17:26:14 +0100 |
commit | 80e19bd185b0615b2cec23aea3024537d1cf0ecc (patch) | |
tree | 6e8a46c087e4fc60c0e9ad0a790acff17ee2da80 /test | |
parent | 09c208bda19a1c46fdb7f2750f70cc2c30e2d15f (diff) | |
download | rspamd-80e19bd185b0615b2cec23aea3024537d1cf0ecc.tar.gz rspamd-80e19bd185b0615b2cec23aea3024537d1cf0ecc.zip |
[Test] Fix AV tests
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/cases/160_antivirus.robot | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/cases/160_antivirus.robot b/test/functional/cases/160_antivirus.robot index 86c2e51b0..bdbd7456f 100644 --- a/test/functional/cases/160_antivirus.robot +++ b/test/functional/cases/160_antivirus.robot @@ -24,13 +24,13 @@ CLAMAV MISS CLAMAV HIT Run Dummy Clam ${PORT_CLAM} 1 ${result} = Scan Message With Rspamc ${MESSAGE2} - Check Rspamc ${result} CLAM_VIRUS (1.00)[Eicar-Test-Signature] + Check Rspamc ${result} CLAM_VIRUS Should Not Contain ${result.stdout} CLAMAV_FAIL Shutdown clamav CLAMAV CACHE HIT ${result} = Scan Message With Rspamc ${MESSAGE2} - Check Rspamc ${result} CLAM_VIRUS (1.00)[Eicar-Test-Signature] + Check Rspamc ${result} CLAM_VIRUS Should Not Contain ${result.stdout} CLAMAV_FAIL CLAMAV CACHE MISS @@ -49,7 +49,7 @@ FPROT HIT - PATTERN Run Dummy Fprot ${PORT_FPROT} 1 Run Dummy Fprot ${PORT_FPROT_DUPLICATE} 1 /tmp/dummy_fprot_dupe.pid ${result} = Scan Message With Rspamc ${MESSAGE} - Check Rspamc ${result} FPROT_EICAR (1.00)[EICAR_Test_File] + Check Rspamc ${result} FPROT_EICAR Should Not Contain ${result.stdout} CLAMAV_VIRUS # Also check ordered pattern match Should Contain ${result.stdout} FPROT_VIRUS_DUPLICATE_PATTERN @@ -60,7 +60,7 @@ FPROT HIT - PATTERN FPROT CACHE HIT ${result} = Scan Message With Rspamc ${MESSAGE} - Check Rspamc ${result} FPROT_EICAR (1.00)[EICAR_Test_File] + Check Rspamc ${result} FPROT_EICAR Should Not Contain ${result.stdout} CLAMAV_VIRUS # Also check ordered pattern match Should Contain ${result.stdout} FPROT_VIRUS_DUPLICATE_PATTERN |