diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-06-28 17:36:54 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-06-28 17:36:54 +0200 |
commit | ab64f70c590d194b35d79bf80beed3f3e05cf15d (patch) | |
tree | 1b0e5386bfe00c2fcafb135cdf17d66585bb33e8 /tests/test-run.sh | |
parent | 3d534a864aed14a85037512ef5ca6d8a3727e10d (diff) | |
download | flatpak-ab64f70c590d194b35d79bf80beed3f3e05cf15d.tar.gz |
tests: Test install/updates with static deltas
Diffstat (limited to 'tests/test-run.sh')
-rwxr-xr-x | tests/test-run.sh | 3 |
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 |