diff --git a/tests/compose/filters/01_email_test.sh b/tests/compose/filters/01_email_test.sh index 50e904f8..30b58c51 100755 --- a/tests/compose/filters/01_email_test.sh +++ b/tests/compose/filters/01_email_test.sh @@ -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 diff --git a/tests/compose/filters/PotentiallyUnwanted.exe_ b/tests/compose/filters/PotentiallyUnwanted.exe_ new file mode 100644 index 00000000..6a12a279 Binary files /dev/null and b/tests/compose/filters/PotentiallyUnwanted.exe_ differ