mirror of
https://github.com/Mailu/Mailu.git
synced 2025-03-03 14:52:36 +02:00
simplify
This commit is contained in:
parent
2c422bbfbe
commit
6765c45ab8
@ -1,11 +1,10 @@
|
|||||||
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 [ $? -ne 99 ]; then
|
||||||
python3 tests/email_test.py message-PUA "tests/compose/filters/PotentiallyUnwanted.exe_"
|
exit 1
|
||||||
if [ $? -eq 99 ]; then
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
python3 tests/email_test.py message-PUA "tests/compose/filters/PotentiallyUnwanted.exe_"
|
||||||
|
if [ $? -ne 99 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user