Skip to content
Snippets Groups Projects
Commit b4354e91 authored by Guido Gunther's avatar Guido Gunther 💤
Browse files

d/tests: Don't fail version check

We fail if querying the version fails but don't care about
the version comparison since we're packaging a git snapshot.
parent e48c1c3d
No related branches found
No related tags found
1 merge request!18Add X-Purism-Form-Factor to desktop file
......@@ -2,4 +2,4 @@ Tests: version
Depends:
geary,
Restrictions:
superficial,
superficial, allow-stderr,
#!/bin/bash
set -e
verstring="$(LC_ALL=C geary --version)"
instvers="$(dpkg-query -f '${Version}' --show geary | cut -f1 -d-)"
expected="geary: $instvers"
if [ "$verstring" != "$expected" ]; then
printf >&2 "Expected: %s\n Got: %s\n" "$expected" "$verstring"
exit 1
exit 0
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment