mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 16:18:09 +00:00
Merge pull request #2441 from philsmd/add_php_to_test_requirements
tests: add php to requirements
This commit is contained in:
commit
670b691dfb
@ -66,6 +66,15 @@ pip2 uninstall -y pycryptodome
|
|||||||
|
|
||||||
ERRORS=$((ERRORS+$?))
|
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
|
echo
|
||||||
if [ $ERRORS -eq 0 ]; then
|
if [ $ERRORS -eq 0 ]; then
|
||||||
echo '[ OK ] All commands were successful'
|
echo '[ OK ] All commands were successful'
|
||||||
|
Loading…
Reference in New Issue
Block a user