summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2022-03-15 11:50:24 +0100
committerGitHub <noreply@github.com>2022-03-15 11:50:24 +0100
commit52456f5baf6e677c7e2cf5fcb863c59076e01093 (patch)
tree805f2eda7173a8128d191ba34232716ec9566d19 /tests
parent908d369195205d25b4599be4a7ef89b804b172fc (diff)
Remove backends subsystem (#12146)
Diffstat (limited to 'tests')
-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 53ee8ffa90..53ee8ffa90 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 1aedff2b5c..1aedff2b5c 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 2ac4c2c7ab..2ac4c2c7ab 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 d52f39d54f..40f87b0d50 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