summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-07-01 21:45:30 +0200
committerJulian Andres Klode <jak@debian.org>2017-07-01 21:46:22 +0200
commitc72cc1c1ce2251a7809233d6791141bc777cb899 (patch)
treeef6747153375f060935a43f2efd15a811f3e96b9 /test
parentd47fb34ae03566feec7fec6dccba80e45fa03e6f (diff)
Ignore download order in test-apt-update-failure-propagation
This caused spurious test failures.
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-update-failure-propagation19
1 files changed, 2 insertions, 17 deletions
diff --git a/test/integration/test-apt-update-failure-propagation b/test/integration/test-apt-update-failure-propagation
index fb2b92b8c..20d941f7d 100755
--- a/test/integration/test-apt-update-failure-propagation
+++ b/test/integration/test-apt-update-failure-propagation
@@ -47,24 +47,9 @@ mv aptarchive/dists/stable aptarchive/dists/stable.good
testfailuremsg "E: The repository 'https://localhost:${APTHTTPSPORT} stable Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details." apt update
-testfailure aptget update --no-allow-insecure-repositories
-testequalor2 "Hit:1 http://localhost:${APTHTTPPORT} sid InRelease
-Ign:2 https://localhost:${APTHTTPSPORT} stable InRelease
- 404 Not Found
-Err:3 https://localhost:${APTHTTPSPORT} stable Release
- 404 Not Found
-Reading package lists...
-E: The repository 'https://localhost:${APTHTTPSPORT} stable Release' does not have a Release file.
-N: Updating from such a repository can't be done securely, and is therefore disabled by default.
-N: See apt-secure(8) manpage for repository creation and user configuration details." "Ign:1 https://localhost:${APTHTTPSPORT} stable InRelease
- 404 Not Found
-Err:2 https://localhost:${APTHTTPSPORT} stable Release
- 404 Not Found
-Hit:3 http://localhost:${APTHTTPPORT} sid InRelease
-Reading package lists...
-E: The repository 'https://localhost:${APTHTTPSPORT} stable Release' does not have a Release file.
+testfailuremsg "E: The repository 'https://localhost:${APTHTTPSPORT} stable Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
-N: See apt-secure(8) manpage for repository creation and user configuration details." cat rootdir/tmp/testfailure.output
+N: See apt-secure(8) manpage for repository creation and user configuration details." aptget update
mv aptarchive/dists/stable.good aptarchive/dists/stable
posttest() {