index f6d09cb4648e12dfb3bc2ce6946de3b985f0ad60..31454b4d71c648a0f817027569d06462def92ae1 100755 (executable)
# wait for initial data
sleep 3
+# Check data-source names.
+output="$( run_sysdb -H "$SOCKET_FILE" \
+ -c "FETCH metric 'some.host.name'.'foo/bar/qux'" )"
+echo "$output" | grep -F '"data_names": ["nameA", "nameB"]'
+
# TIMESERIES commands.
run_sysdb -H "$SOCKET_FILE" \
-c "TIMESERIES 'invalid.host'.'invalid-metric'" && exit 1