diff options
author | Matthew Leeds <matthew.leeds@endlessm.com> | 2019-03-19 12:12:07 -0700 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2019-03-20 09:22:51 +0000 |
commit | e8e8611d260cde3a12441748b86f8f96d0e3fa6f (patch) | |
tree | eb25fe41c19b55123246fb144b8f021a6ef14de3 /tests/test-repo.sh | |
parent | d40dfd17d8b94ffc7656eb400da401c646c022ee (diff) | |
download | flatpak-e8e8611d260cde3a12441748b86f8f96d0e3fa6f.tar.gz |
tests: Add a test for flatpak list --arch
Seems worth adding a test since this broke recently
Closes: #2769
Approved by: alexlarsson
Diffstat (limited to 'tests/test-repo.sh')
-rwxr-xr-x | tests/test-repo.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/test-repo.sh b/tests/test-repo.sh index 04b7775c..d0ae00d3 100755 --- a/tests/test-repo.sh +++ b/tests/test-repo.sh @@ -23,7 +23,7 @@ set -euo pipefail skip_without_bwrap -echo "1..28" +echo "1..29" #Regular repo setup_repo @@ -290,6 +290,12 @@ assert_file_has_content $FL_DIR/app/org.test.Hello/$ARCH/master/active/files/bin echo "ok redirect url and gpg key" +${FLATPAK} ${U} list --arch=$ARCH --columns=ref > list-log +assert_file_has_content list-log "org.test.Hello" +assert_file_has_content list-log "org.test.Platform" + +echo "ok flatpak list --arch --columns works" + if ${FLATPAK} ${INVERT_U} uninstall -y org.test.Platform org.test.Hello; then assert_not_reached "Should not be able to uninstall ${INVERT_U} when installed ${U}" fi |