1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-07-15 01:24:34 +02:00

Add a new test for PUAs

This commit is contained in:
Florent Daigniere
2023-11-10 12:13:04 +01:00
parent aefbd9552c
commit f7fb0f6625
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,11 @@
python3 tests/email_test.py message-virus "tests/compose/filters/eicar.com.txt"
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
exit 1
fi

Binary file not shown.