projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56b6ca5
)
xray-core: add the test script for action checking
author
Tianling Shen
<
[email protected]
>
Fri, 12 Feb 2021 17:09:19 +0000
(
01:09
+0800)
committer
Tianling Shen
<
[email protected]
>
Sat, 13 Feb 2021 04:20:22 +0000
(12:20 +0800)
Signed-off-by: Tianling Shen <
[email protected]
>
net/xray-core/test.sh
[new file with mode: 0644]
patch
|
blob
diff --git a/net/xray-core/test.sh
b/net/xray-core/test.sh
new file mode 100644
(file)
index 0000000..
8fcce26
--- /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