summaryrefslogtreecommitdiff
path: root/tests/test-run.sh
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2018-11-29 11:21:00 +0000
committerAtomic Bot <atomic-devel@projectatomic.io>2018-11-29 23:01:25 +0000
commit871f103153eed14d00e5a7dcc73aca9387db36f8 (patch)
tree8cb98c0687f6ee7a582f8603afe99f31397bf57b /tests/test-run.sh
parentb8bb44ef40f02c08e5a9f8c833e58025f5db6da0 (diff)
downloadflatpak-871f103153eed14d00e5a7dcc73aca9387db36f8.tar.gz
test scripts: Don't assume we are running on x86_64
These tests failed on other architectures. Signed-off-by: Simon McVittie <smcv@debian.org> Closes: #2353 Approved by: matthiasclasen
Diffstat (limited to 'tests/test-run.sh')
-rwxr-xr-xtests/test-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-run.sh b/tests/test-run.sh
index 5339b7e4..f7f739ce 100755
--- a/tests/test-run.sh
+++ b/tests/test-run.sh
@@ -404,6 +404,6 @@ update_repo
${FLATPAK} ${U} install -y test-repo org.test.App
${FLATPAK} ${U} info -m org.test.App > out
-assert_file_has_content out ^sdk=org.test.Sdk/x86_64/master$
+assert_file_has_content out "^sdk=org.test.Sdk/$(flatpak --default-arch)/master$"
echo "ok --sdk option"