summaryrefslogtreecommitdiff
path: root/tests/test-basic.sh
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-04-28 13:12:43 +0200
committerAlexander Larsson <alexl@redhat.com>2016-04-28 13:12:43 +0200
commit337f81048cb3d58c75de8c0039e7339cba1a939b (patch)
treeb034f41babd7a8dc62b2d921902e74582c0eb7e4 /tests/test-basic.sh
parentb3303687615e88a1351cb7472402961956e26999 (diff)
downloadxdg-app-337f81048cb3d58c75de8c0039e7339cba1a939b.tar.gz
test-basic: Verify the right version
Diffstat (limited to 'tests/test-basic.sh')
-rwxr-xr-xtests/test-basic.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-basic.sh b/tests/test-basic.sh
index f2add78..f649dff 100755
--- a/tests/test-basic.sh
+++ b/tests/test-basic.sh
@@ -25,7 +25,8 @@ echo "1..2"
${XDG_APP} --version > version_out
-assert_file_has_content version_out '^xdg-app '
+VERSION=`cat $(dirname $0)/package_version.txt`
+assert_file_has_content version_out "^xdg-app $VERSION$"
echo "ok version"