projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b36bb17
)
prometheus: add runtime test
author
Paul Spooren
<mail@aparcar.org>
Sun, 6 Sep 2020 09:14:14 +0000
(23:14 -1000)
committer
Paul Spooren
<mail@aparcar.org>
Thu, 17 Sep 2020 19:48:23 +0000
(09:48 -1000)
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>
utils/prometheus/test.sh
[new file with mode: 0644]
patch
|
blob
diff --git a/utils/prometheus/test.sh
b/utils/prometheus/test.sh
new file mode 100644
(file)
index 0000000..
54266ab
--- /dev/null
+++ b/
utils/prometheus/test.sh
@@ -0,0
+1,3
@@
+#!/bin/sh
+
+prometheus --version 2>&1 | grep "${2%%-*}"