packages/net/xray-core/test.sh
Tianling Shen 3db3ed5c59
xray-core: add the test script for action checking
Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-13 12:20:22 +08:00

7 lines
85 B
Bash

#!/bin/sh
case "$1" in
"xray-core")
xray version 2>&1 | grep "${2#*v}"
;;
esac