mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-10-31 18:18:05 +00:00
Add a new test for PUAs
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
python3 tests/email_test.py message-virus "tests/compose/filters/eicar.com.txt"
|
python3 tests/email_test.py message-virus "tests/compose/filters/eicar.com.txt"
|
||||||
if [ $? -eq 99 ]; then
|
if [ $? -eq 99 ]; then
|
||||||
exit 0
|
python3 tests/email_test.py message-PUA "tests/compose/filters/PotentiallyUnwanted.exe_"
|
||||||
|
if [ $? -eq 99 ]; then
|
||||||
|
return 0
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
BIN
tests/compose/filters/PotentiallyUnwanted.exe_
Normal file
BIN
tests/compose/filters/PotentiallyUnwanted.exe_
Normal file
Binary file not shown.
Reference in New Issue
Block a user