From: Tianling Shen Date: Fri, 12 Feb 2021 17:09:19 +0000 (+0800) Subject: xray-core: add the test script for action checking X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3db3ed5c5967a24a165013b77d53e41159b9e225;p=feed%2Fpackages.git xray-core: add the test script for action checking Signed-off-by: Tianling Shen --- 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