From 551bb8b718fa94a072238f4078286df7cbad0242 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Wed, 12 Oct 2022 19:30:37 +0200 Subject: [PATCH] tailscale: add version tests Signed-off-by: Michal Vasilek --- net/tailscale/test.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 net/tailscale/test.sh 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 -- 2.30.2