aboutsummaryrefslogtreecommitdiff
path: root/utils/yq/test.sh
diff options
context:
space:
mode:
authorTianling Shen <cnsztl@project-openwrt.eu.org>2021-02-10 19:14:01 +0800
committerTianling Shen <cnsztl@project-openwrt.eu.org>2021-02-10 19:14:01 +0800
commit8356aaafc59d3cd6a7566243622767a43b07f9ac (patch)
tree1caf6d26fc4fa22d2498c1d94cee466557b91bea /utils/yq/test.sh
parentd53d2df2832c392b8426cda4c99efeda17039ca7 (diff)
yq: Update to 4.5.1
added test script as well. Changelog: https://github.com/mikefarah/yq/releases/tag/v4.5.1 Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
Diffstat (limited to 'utils/yq/test.sh')
-rw-r--r--utils/yq/test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/yq/test.sh b/utils/yq/test.sh
new file mode 100644
index 000000000..54d789252
--- /dev/null
+++ b/utils/yq/test.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+yq --version 2>&1 | grep "${2#*v}"