summaryrefslogtreecommitdiff
path: root/tests/test-repo.sh
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2020-11-14 13:58:44 +0100
committerAlexander Larsson <alexander.larsson@gmail.com>2020-11-16 11:23:10 +0100
commit7eb5f4ddc8c98174ac06282d63d7c16783c4909b (patch)
tree867acfb64e1801aa00a1be7f9dc36d9c135c379d /tests/test-repo.sh
parent39333fdb339aff571b2fd4af635de5a6096059df (diff)
downloadflatpak-7eb5f4ddc8c98174ac06282d63d7c16783c4909b.tar.gz
cli-transaction: Better handling of EOL refs
We remember what action we took for EOLs, and for sub-refs (ie .Locale) we reuse that. Also, we show if eol:ed refs are pinned (as that makes them not be auto-uninstalled), and we list the apps that use the eol:ed runtime ref. Example run: ``` Looking for updates… Info: (pinned) org.gnome.Sdk.Compat.i386 is end-of-life, with reason: The GNOME 3.34 runtime is no longer supported as of 14th August 2020. Please ask your application developer to migrate to a supported platform. Info: org.gnome.Platform is end-of-life, with reason: The GNOME 3.32 runtime is no longer supported as of 11th March 2020. Please ask your application developer to migrate to a supported platform. Applications using this runtime: org.gnome.HexGL ```
Diffstat (limited to 'tests/test-repo.sh')
-rw-r--r--tests/test-repo.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-repo.sh b/tests/test-repo.sh
index 222fc302..840b56a1 100644
--- a/tests/test-repo.sh
+++ b/tests/test-repo.sh
@@ -363,7 +363,8 @@ ${FLATPAK} ${U} remote-ls -d -a test-repo > remote-ls-log
assert_file_has_content remote-ls-log "app/org\.test\.Hello/.*eol=Reason2"
${FLATPAK} ${U} update -y org.test.Hello > update-log
-assert_file_has_content update-log "org\.test\.Hello.*Reason2"
+assert_file_has_content update-log "org\.test\.Hello.*end-of-life"
+assert_file_has_content update-log "Reason2"
${FLATPAK} ${U} info org.test.Hello > info-log
assert_file_has_content info-log "End-of-life: Reason2"