]> git.saurik.com Git - apt.git/commitdiff
fix test-apt-update-nofallback test
authorMichael Vogt <mvo@ubuntu.com>
Wed, 1 Oct 2014 12:22:46 +0000 (14:22 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Wed, 1 Oct 2014 12:22:46 +0000 (14:22 +0200)
test/integration/test-apt-update-nofallback

index a53226e18a9cea9dd3eee09609dfa1f64ff12847..c400dcc36dbc2702e77d1e239c596061a82c402d 100755 (executable)
@@ -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