summaryrefslogtreecommitdiff
path: root/tests/test-repo.sh
diff options
context:
space:
mode:
authorPhaedrus Leeds <mwleeds@protonmail.com>2022-04-14 12:34:48 -0700
committerSimon McVittie <smcv@debian.org>2022-04-23 16:12:53 +0100
commit45d86effce96b6862eaa68aab4af582ff4ce2c3c (patch)
treee9d859c5d870d08908413d99dcd953b9199a18da /tests/test-repo.sh
parentb95525eae2c4de426877afd522f6933f93f28f95 (diff)
downloadflatpak-45d86effce96b6862eaa68aab4af582ff4ce2c3c.tar.gz
tests: Remove a pointless test
Typo correction has nothing to do with --no-pull or --no-deploy so it doesn't make sense to test them together when we already test each separately. [smcv: Resolve conflict with #4858]
Diffstat (limited to 'tests/test-repo.sh')
-rw-r--r--tests/test-repo.sh26
1 files changed, 1 insertions, 25 deletions
diff --git a/tests/test-repo.sh b/tests/test-repo.sh
index ef5ef8d7..ca40a8c0 100644
--- a/tests/test-repo.sh
+++ b/tests/test-repo.sh
@@ -24,7 +24,7 @@ set -euo pipefail
skip_without_bwrap
skip_revokefs_without_fuse
-echo "1..45"
+echo "1..44"
#Regular repo
setup_repo
@@ -629,30 +629,6 @@ assert_file_has_content list-log "org\.test\.Platform/"
ok "install with --no-deploy and then --no-pull"
-${FLATPAK} ${U} uninstall -y org.test.Hello org.test.Platform
-
-${FLATPAK} ${U} install -y --no-deploy --app test-repo hello
-
-${FLATPAK} ${U} list --columns=ref > list-log
-assert_not_file_has_content list-log "org\.test\.Hello/"
-assert_not_file_has_content list-log "org\.test\.Platform/"
-
-# Disable the remote to make sure we don't do i/o
-port=$(cat httpd-port)
-${FLATPAK} ${U} remote-modify --url="http://127.0.0.1:${port}/disable-test" test-repo
-
-# Note: The partial ref is only auto-corrected without user interaction because we're using -y
-${FLATPAK} ${U} install -y --no-pull --app test-repo hello
-
-# re-enable remote
-${FLATPAK} ${U} remote-modify --url="http://127.0.0.1:${port}/test" test-repo
-
-${FLATPAK} ${U} list --columns=ref > list-log
-assert_file_has_content list-log "org\.test\.Hello/"
-assert_file_has_content list-log "org\.test\.Platform/"
-
-ok "install with --no-deploy and then --no-pull works with typo correction"
-
${FLATPAK} uninstall -y --all
${FLATPAK} ${U} list --columns=ref > list-log