This website requires JavaScript.
Explore
Help
Register
Sign In
OpenWrt
/
packages
mirror of
https://git.openwrt.org/feed/packages.git
Watch
1
Star
0
Fork
You've already forked packages
0
Code
Issues
Projects
Releases
Wiki
Activity
e8d60c034a
packages
/
utils
/
prometheus
/
test.sh
4 lines
49 B
Bash
Raw
Normal View
History
Unescape
Escape
prometheus: add runtime test Run trivial check if the compiled binary works on the architecture. Do so by comparing the printed version by the binary with the Makefile version. The release is OpenWrt specific, so cut it off. Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-09-06 17:14:14 +08:00
#!/bin/sh
prometheus: simplify runtime test Passed argument no longer contains the release. Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-09-18 12:56:34 +08:00
prometheus --version 2>
&
1
|
grep
"
$2
"