1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 09:58:16 +00:00

Merge pull request #2441 from philsmd/add_php_to_test_requirements

tests: add php to requirements
This commit is contained in:
Jens Steube 2020-06-11 13:01:15 +02:00 committed by GitHub
commit 670b691dfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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'