summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-10-01 14:22:46 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-10-01 14:22:46 +0200
commit8beef749860d99fd21ea15852aad7716dd7b741b (patch)
tree63d676848a70683d89deabb082a4cd844697cc04 /test
parente8b1db38cca29cbdc0116e567f0aa7a28034287b (diff)
fix test-apt-update-nofallback test
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-update-nofallback6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/integration/test-apt-update-nofallback b/test/integration/test-apt-update-nofallback
index a53226e18..c400dcc36 100755
--- a/test/integration/test-apt-update-nofallback
+++ b/test/integration/test-apt-update-nofallback
@@ -181,7 +181,11 @@ test_release_gpg_to_invalid_release_release_gpg()
echo "Some evil data" >> $APTARCHIVE/dists/unstable/Release
inject_evil_package
- testequal "E: The repository 'file: unstable Release.gpg' is no longer signed." aptget update -qq
+ testequal "W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: file: unstable Release.gpg: The following signatures were invalid: BADSIG 5A90D141DBAC8DAE Joe Sixpack (APT Testcases Dummy) <joe@example.org>
+
+W: Failed to fetch file:${APTARCHIVE}/dists/unstable/Release.gpg
+
+W: Some index files failed to download. They have been ignored, or old ones used instead." aptget update -qq
assert_repo_is_intact
testfailure grep "evil" rootdir/var/lib/apt/lists/*Release