From 993d5e0c490321354c3b02fbb8b163f9a7732494 Mon Sep 17 00:00:00 2001 From: Ramil Valitov Date: Mon, 21 Sep 2020 20:30:25 +0300 Subject: [PATCH] [fix] options --- tests/all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"