summaryrefslogtreecommitdiffstats
path: root/tests/exporting
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-14 18:12:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-14 18:12:10 +0000
commitb5321aff06d6ea8d730d62aec2ffd8e9271c1ffc (patch)
tree36c41e35994786456154f9d3bf88c324763aeea4 /tests/exporting
parentAdding upstream version 1.33.1. (diff)
downloadnetdata-upstream/1.34.0.tar.xz
netdata-upstream/1.34.0.zip
Adding upstream version 1.34.0.upstream/1.34.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tests/exporting/prometheus-avg-oldunits.txt (renamed from tests/backends/prometheus-avg-oldunits.txt)0
-rw-r--r--tests/exporting/prometheus-avg.txt (renamed from tests/backends/prometheus-avg.txt)0
-rw-r--r--tests/exporting/prometheus-raw.txt (renamed from tests/backends/prometheus-raw.txt)0
-rwxr-xr-xtests/exporting/prometheus.bats (renamed from tests/backends/prometheus.bats)8
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/backends/prometheus-avg-oldunits.txt b/tests/exporting/prometheus-avg-oldunits.txt
index 53ee8ffa9..53ee8ffa9 100644
--- a/tests/backends/prometheus-avg-oldunits.txt
+++ b/tests/exporting/prometheus-avg-oldunits.txt
diff --git a/tests/backends/prometheus-avg.txt b/tests/exporting/prometheus-avg.txt
index 1aedff2b5..1aedff2b5 100644
--- a/tests/backends/prometheus-avg.txt
+++ b/tests/exporting/prometheus-avg.txt
diff --git a/tests/backends/prometheus-raw.txt b/tests/exporting/prometheus-raw.txt
index 2ac4c2c7a..2ac4c2c7a 100644
--- a/tests/backends/prometheus-raw.txt
+++ b/tests/exporting/prometheus-raw.txt
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&timestamps=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