From: Michal Vasilek Date: Wed, 12 Oct 2022 17:30:37 +0000 (+0200) Subject: tailscale: add version tests X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=551bb8b718fa94a072238f4078286df7cbad0242;p=feed%2Fpackages.git tailscale: add version tests Signed-off-by: Michal Vasilek --- diff --git a/net/tailscale/test.sh b/net/tailscale/test.sh new file mode 100644 index 0000000000..f50de6fc0e --- /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