diff --git a/tests/all.sh b/tests/all.sh index 1ba62b5..903280b 100644 --- a/tests/all.sh +++ b/tests/all.sh @@ -783,7 +783,7 @@ function runZabbixDiscoverReturnsData() { OPTIONS="$OPTIONS,\"$1\"" done - DATA=$(zabbix_get -s 127.0.0.1 -p 10050 -k php-fpm.discover[$OPTIONS]) + DATA=$(zabbix_get -s 127.0.0.1 -p 10050 -k php-fpm.discover["$OPTIONS"]) IS_OK=$(echo "$DATA" | grep -F '{"data":[{"{#POOLNAME}"') printElapsedTime assertNotNull "Discover script failed: $DATA" "$IS_OK"