tailscale: add version tests
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit 551bb8b718
)
This commit is contained in:
parent
20595747f5
commit
f8262f4056
1 changed files with 8 additions and 0 deletions
8
net/tailscale/test.sh
Normal file
8
net/tailscale/test.sh
Normal file
|
@ -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
|
Loading…
Reference in a new issue