tailscale: add version tests

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit 551bb8b718)
This commit is contained in:
Michal Vasilek 2022-10-12 19:30:37 +02:00 committed by Josef Schlehofer
parent 20595747f5
commit f8262f4056
No known key found for this signature in database
GPG Key ID: B950216FE4329F4C
1 changed files with 8 additions and 0 deletions

8
net/tailscale/test.sh Normal file
View 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