mirror of
https://github.com/rvalitov/zabbix-php-fpm.git
synced 2023-11-05 03:30:27 +01:00
display full log
This commit is contained in:
parent
6ac9292c0a
commit
24153d7d49
@ -182,7 +182,7 @@ testDiscoverScriptReturnsData() {
|
|||||||
testDiscoverScriptDebug() {
|
testDiscoverScriptDebug() {
|
||||||
DATA=$(sudo bash "/etc/zabbix/zabbix_php_fpm_discovery.sh" "debug" "/php-fpm-status")
|
DATA=$(sudo bash "/etc/zabbix/zabbix_php_fpm_discovery.sh" "debug" "/php-fpm-status")
|
||||||
ERRORS_LIST=$(echo "$DATA" | grep -F 'Error:')
|
ERRORS_LIST=$(echo "$DATA" | grep -F 'Error:')
|
||||||
assertNull "Discover script errors: $ERRORS_LIST" "$ERRORS_LIST"
|
assertNull "Discover script errors: $DATA" "$ERRORS_LIST"
|
||||||
}
|
}
|
||||||
|
|
||||||
testZabbixDiscoverReturnsData() {
|
testZabbixDiscoverReturnsData() {
|
||||||
|
Loading…
Reference in New Issue
Block a user