tailscale: add version tests
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
This commit is contained in:
parent
738f44be4f
commit
551bb8b718
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