1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-10 15:51:10 +00:00

tests: add php to requirements

This commit is contained in:
philsmd 2020-06-10 11:45:31 +02:00
parent d9e54cd357
commit 60bb0d6329
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF

View File

@ -66,6 +66,15 @@ pip2 uninstall -y pycryptodome
ERRORS=$((ERRORS+$?))
php --version > /dev/null 2> /dev/null
if [ "$?" -ne 0 ]
then
echo '[ ERROR ] php must be installed for some unit tests'
ERRORS=$((ERRORS+1))
fi
echo
if [ $ERRORS -eq 0 ]; then
echo '[ OK ] All commands were successful'