docker-php-extension-installer/scripts/tests/stomp

14 lines
245 B
Plaintext
Raw Normal View History

2021-07-15 07:47:39 +00:00
#!/bin/sh
set -o errexit
set -o nounset
rc=0
if test -z "$(php --ri stomp | grep 'SSL Support => enabled')"; then
echo 'stomp has not been compiled with SSL support' >&2
rc=1
else
echo 'stomp has been compiled with SSL support'
fi
exit $rc