summaryrefslogtreecommitdiff
path: root/tests/test-version.sh
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2020-10-02 16:47:40 +0300
committerTimo Teräs <timo.teras@iki.fi>2020-10-02 20:49:39 +0300
commit56553ea6cd27804bb76272842d9721e2fb1edfeb (patch)
tree6717f1cd0cae3d5030b851ee0161b9fe3f3d2a58 /tests/test-version.sh
parent72bb6231eea1333f4e54b12adf01f5fa3eed6b96 (diff)
downloadapk-tools-v3.0-wip.tar.gz
apk-tools-v3.0-wip.tar.bz2
apk-tools-v3.0-wip.tar.xz
apk-tools-v3.0-wip.zip
add separate vertest applet for version string testingv3.0-wip
start adding meson based tests
Diffstat (limited to 'tests/test-version.sh')
-rwxr-xr-xtests/test-version.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-version.sh b/tests/test-version.sh
new file mode 100755
index 0000000..c982cb3
--- /dev/null
+++ b/tests/test-version.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+APK=${1:-apk}
+sed 's/[[:blank:]]*#.*//g' < version.data | tr '\n' '\0' | xargs -0 $APK vertest