From 66a30ea118bf380b620287395771821c8bf4825e Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sun, 18 Oct 2020 21:12:22 +0200 Subject: [PATCH] Fix memcached test --- scripts/tests/memcached | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/tests/memcached b/scripts/tests/memcached index 15f6c42..219be77 100755 --- a/scripts/tests/memcached +++ b/scripts/tests/memcached @@ -3,16 +3,20 @@ set -o errexit set -o nounset +rc=0 MODULE_CONFIGURATION="$(php --ri memcached)" if test $1 -ge 70000; then if php --ri igbinary >/dev/null 2>/dev/null; then if test -z "$(printf '%s' "$MODULE_CONFIGURATION" | grep 'igbinary support => yes')"; then echo 'igbinary support has NOT been enabled!' >&2 + rc=1 fi fi if php --ri msgpack >/dev/null 2>/dev/null; then if test -z "$(printf '%s' "$MODULE_CONFIGURATION" | grep 'msgpack support => yes')"; then echo 'msgpack support has NOT been enabled!' >&2 + rc=1 fi fi fi +exit $rc