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:
738f44b
)
tailscale: add version tests
author
Michal Vasilek
<
[email protected]
>
Wed, 12 Oct 2022 17:30:37 +0000
(19:30 +0200)
committer
Michal Vasilek
<
[email protected]
>
Thu, 13 Oct 2022 09:31:38 +0000
(11:31 +0200)
Signed-off-by: Michal Vasilek <
[email protected]
>
net/tailscale/test.sh
[new file with mode: 0644]
patch
|
blob
diff --git a/net/tailscale/test.sh
b/net/tailscale/test.sh
new file mode 100644
(file)
index 0000000..
f50de6f
--- /dev/null
+++ b/
net/tailscale/test.sh
@@ -0,0
+1,8
@@
+#!/bin/sh
+if command -v tailscale; then
+ tailscale version | grep "$2" || exit 1
+fi
+
+if command -v tailscaled; then
+ tailscaled -version | grep "$2"
+fi