summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2020-10-20 08:47:04 +0200
committerAlexander Larsson <alexl@redhat.com>2020-10-23 17:24:22 +0200
commitc60b3a87c7d1669b80452b00c70eeb23d713efdd (patch)
tree4508019e8220004ce506ab6b51daa116620f3500
parent92db54cff0d8cbdbf0ffd0b9e995695086521356 (diff)
downloadflatpak-c60b3a87c7d1669b80452b00c70eeb23d713efdd.tar.gz
tests: Use "flatpak build-update-repo" instead of ostree summary -u
As we tweak the summary generation code we want to use our code, not the ostree one.
-rw-r--r--tests/test-repo.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-repo.sh b/tests/test-repo.sh
index e0eb56a1..5c64d7e9 100644
--- a/tests/test-repo.sh
+++ b/tests/test-repo.sh
@@ -77,7 +77,7 @@ fi
# Remove new appstream branch so we can test deploying the old one
rm -rf repos/test/refs/heads/appstream2
-ostree summary -u --repo=repos/test ${FL_GPGARGS}
+${FLATPAK} build-update-repo --no-update-appstream ${FL_GPGARGS} repos/test
flatpak ${U} --appstream update test-repo
@@ -720,7 +720,7 @@ fi
ok "remote-ls"
# Test that remote-ls can take a file:// URI
-ostree --repo=repos/test summary -u
+${FLATPAK} build-update-repo --no-update-appstream repos/test
${FLATPAK} remote-ls file://`pwd`/repos/test > repo-list
assert_file_has_content repo-list "org\.test\.Hello"