mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 16:47:15 +04:00
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>
15 lines
235 B
Bash
Executable File
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
|