Files
packages/utils/prometheus-node-exporter-lua/test.sh
T
Etienne Champetier 4741715d8e prometheus-node-exporter-lua: add test / skip test-version
test.sh is pretty basic and will not fail if one of the plugin fails,
which is fine as most plugins will fail in CI anyway.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2026-07-05 18:16:22 +03:00

15 lines
235 B
Bash
Executable File

#!/bin/sh
# shellcheck shell=busybox
case "$PKG_NAME" in
prometheus-node-exporter-lua-openwrt)
# call ubus outside scape, so skip the check
exit 0
;;
*)
prometheus-node-exporter-lua | grep node_scrape_collector_success
;;
esac