diff options
Diffstat (limited to '')
-rwxr-xr-x | tests/exporting/prometheus.bats (renamed from tests/backends/prometheus.bats) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/backends/prometheus.bats b/tests/exporting/prometheus.bats index d52f39d54..40f87b0d5 100755 --- a/tests/backends/prometheus.bats +++ b/tests/exporting/prometheus.bats @@ -6,14 +6,14 @@ validate_metrics() { curl -sS "http://localhost:19999/api/v1/allmetrics?format=prometheus&prefix=nd×tamps=no${params}" | grep -E 'nd_system_|nd_cpu_|nd_system_|nd_net_|nd_disk_|nd_ip_|nd_ipv4_|nd_ipv6_|nd_mem_|nd_netdata_|nd_apps_|nd_services_' | - sed -ne 's/{.*//p' | sort | uniq > tests/backends/new-${fname} - diff tests/backends/${fname} tests/backends/new-${fname} - rm tests/backends/new-${fname} + sed -ne 's/{.*//p' | sort | uniq > tests/exportings/new-${fname} + diff tests/exportings/${fname} tests/exportings/new-${fname} + rm tests/exportings/new-${fname} } if [ ! -f .gitignore ]; then - echo "Need to run as ./tests/backends/$(basename "$0") from top level directory of git repository" >&2 + echo "Need to run as ./tests/exportings/$(basename "$0") from top level directory of git repository" >&2 exit 1 fi |