This commit is contained in:
Michael Boelen 2017-07-28 10:26:34 +02:00
commit ebc706aa64
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04

View File

@ -301,6 +301,10 @@
if [ ${SKIPTEST} -eq 0 ]; then
FOUND=0
SIMULATION=0
if [ "${OS}" = "OpenBSD" ]; then
FOUND=1 # On OpenBSD, Suhosin is hard linked into PHP
SIMULATION=off
else
for I in ${PHPINI_ALLFILES}; do
LogText "Test: Checking for PHP suhosin extension status in file ${I}"
FIND=$(${GREPBINARY} -oP '^extension=.*?suhosin.so.*$' ${I})
@ -319,6 +323,7 @@
LogText "Result: ${I}: suhosin simulation mode is active"
fi
done
fi
if [ ${FOUND} -eq 0 ]; then
LogText "Result: Suhosin extension is not enabled"