3
0
mirror of https://github.com/rvalitov/zabbix-php-fpm.git synced 2023-11-05 03:30:27 +01:00

[add] full output

This commit is contained in:
Ramil Valitov 2020-06-29 02:43:29 +03:00
parent 21e4630738
commit 8106d57ebc
No known key found for this signature in database
GPG Key ID: 2AB186DABDFE1914

View File

@ -152,7 +152,7 @@ testDiscoverScriptReturnsData() {
testDiscoverScriptDebug() {
DATA=$(sudo bash "/etc/zabbix/zabbix_php_fpm_discovery.sh" "debug" "/php-fpm-status")
ERRORS_LIST=$(echo "$DATA" | grep -F 'Error:')
assertNull "Discover script errors: $ERRORS_LIST" "$ERRORS_LIST"
assertNull "Discover script errors: $DATA" "$ERRORS_LIST"
}