Rewrite of email test script and added eicar virus file

This commit is contained in:
Ionut Filip
2018-11-05 17:28:40 +02:00
parent 4032e7128d
commit 76d9fc3865
3 changed files with 56 additions and 38 deletions

View File

@@ -1 +1,6 @@
python3 tests/email_test.py message-filters
python3 tests/email_test.py message-virus "tests/compose/filters/eicar.com"
if [ $? -eq 99 ]; then
exit 0
else
exit 1
fi

View File

@@ -0,0 +1 @@
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*