summaryrefslogtreecommitdiff
path: root/tests/test-run.sh
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-06-28 17:36:54 +0200
committerAlexander Larsson <alexl@redhat.com>2016-06-28 17:36:54 +0200
commitab64f70c590d194b35d79bf80beed3f3e05cf15d (patch)
tree1b0e5386bfe00c2fcafb135cdf17d66585bb33e8 /tests/test-run.sh
parent3d534a864aed14a85037512ef5ca6d8a3727e10d (diff)
downloadflatpak-ab64f70c590d194b35d79bf80beed3f3e05cf15d.tar.gz
tests: Test install/updates with static deltas
Diffstat (limited to 'tests/test-run.sh')
-rwxr-xr-xtests/test-run.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-run.sh b/tests/test-run.sh
index 8d1d6b7f..2cedccfa 100755
--- a/tests/test-run.sh
+++ b/tests/test-run.sh
@@ -219,6 +219,7 @@ echo "nope" > ${DIR}/files/nope
${FLATPAK} build-finish --command=hello.sh ${DIR}
${FLATPAK} build-export ${FL_GPGARGS} repo ${DIR}
+update_repo
${FLATPAK} ${U} install test-repo org.test.Split --subpath=/a --subpath=/b --subpath=/nosuchdir master
@@ -244,6 +245,7 @@ echo "f" > ${DIR}/files/f/data
rm -rf ${DIR}/files/b
${FLATPAK} build-export ${FL_GPGARGS} repo ${DIR}
+update_repo
${FLATPAK} ${U} update --subpath=/a --subpath=/b --subpath=/e --subpath=/nosuchdir org.test.Split
@@ -263,6 +265,7 @@ assert_not_has_file $FL_DIR/app/org.test.Split/$ARCH/master/active/files/f
assert_not_has_file $FL_DIR/app/org.test.Split/$ARCH/master/active/files/nope
${FLATPAK} build-export ${FL_GPGARGS} repo ${DIR}
+update_repo
# Test reusing the old subpath list
${FLATPAK} ${U} update org.test.Split