summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-07-31 10:02:27 +0200
committerMichael Vogt <mvo@debian.org>2014-07-31 10:02:27 +0200
commit6d979490c13e9d8004942507c99d152c22184a27 (patch)
tree8c58ff02b7a91b128f5c7654d7677ba16873db56 /test
parent7712d13bcc19c7b3c44d8fea121baaa587cb10a4 (diff)
make test_unauthenticated_to_invalid_inrelease work
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-update-rollback9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/integration/test-apt-update-rollback b/test/integration/test-apt-update-rollback
index cd28f1f1f..9771f0edc 100755
--- a/test/integration/test-apt-update-rollback
+++ b/test/integration/test-apt-update-rollback
@@ -136,11 +136,12 @@ E: There are problems and -y was used without --force-yes" aptget install -qq -y
add_new_package
break_repository_sources_index
- testequal "W: Hashsum mismatch $ROOTDIR/var/lib/apt/lists/${APTARCHIVE_LISTS}_dists_unstable_main_source_Sources
-W: Failed to fetch file:$APTARCHIVE/dists/unstable/InRelease
-
+ testequal "W: Failed to fetch file:$APTARCHIVE/dists/unstable/InRelease
+
W: Failed to fetch copy:$APTARCHIVE/dists/unstable/main/source/Sources Hash Sum mismatch
+W: Failed to fetch copy:$APTARCHIVE/dists/unstable/main/binary-i386/Packages
+
E: Some index files failed to download. They have been ignored, or old ones used instead." aptget update -qq
testfailure ls rootdir/var/lib/apt/lists/*_InRelease
@@ -177,4 +178,4 @@ test_inrelease_to_broken_hash_reverts_all
test_inreleae_to_valid_release
test_inreleae_to_release_reverts_all
-#test_unauthenticated_to_invalid_inrelease
+test_unauthenticated_to_invalid_inrelease