diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-10-01 14:22:46 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-10-01 14:22:46 +0200 |
commit | 8beef749860d99fd21ea15852aad7716dd7b741b (patch) | |
tree | 63d676848a70683d89deabb082a4cd844697cc04 /test | |
parent | e8b1db38cca29cbdc0116e567f0aa7a28034287b (diff) |
fix test-apt-update-nofallback test
Diffstat (limited to 'test')
-rwxr-xr-x | test/integration/test-apt-update-nofallback | 6 |
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 |