From 3db3ed5c5967a24a165013b77d53e41159b9e225 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Sat, 13 Feb 2021 01:09:19 +0800 Subject: [PATCH] xray-core: add the test script for action checking Signed-off-by: Tianling Shen --- net/xray-core/test.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 net/xray-core/test.sh diff --git a/net/xray-core/test.sh b/net/xray-core/test.sh new file mode 100644 index 0000000000..8fcce26fe8 --- /dev/null +++ b/net/xray-core/test.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +case "$1" in + "xray-core") + xray version 2>&1 | grep "${2#*v}" + ;; +esac -- 2.30.2