diff options
author | Michael Vogt <mvo@debian.org> | 2014-07-31 19:24:36 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-07-31 19:24:36 +0200 |
commit | 21638c3af355b3997fadd169495551568af6acfe (patch) | |
tree | f29b64cc8610f8e6516b7ef1677953244e96434b /test/integration/test-apt-update-rollback | |
parent | c5fced388848b967f0ce076656cad5366517f981 (diff) |
fail early (again) on gpg sig failures
Diffstat (limited to 'test/integration/test-apt-update-rollback')
-rwxr-xr-x | test/integration/test-apt-update-rollback | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/test/integration/test-apt-update-rollback b/test/integration/test-apt-update-rollback index c16e4f480..a6297792e 100755 --- a/test/integration/test-apt-update-rollback +++ b/test/integration/test-apt-update-rollback @@ -156,14 +156,13 @@ test_inrelease_to_unauth_inrelease() { signreleasefiles 'Marvin Paranoid' avoid_ims_hit - testsuccess 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 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E8525D47528144E2 - testequal "WARNING: The following packages cannot be authenticated! - old -E: There are problems and -y was used without --force-yes" aptget install -qq -y old +W: Failed to fetch file:$APTARCHIVE/dists/unstable/InRelease - testfailure ls rootdir/var/lib/apt/lists/*_InRelease - testsuccess ls rootdir/var/lib/apt/lists/*_Release +W: Some index files failed to download. They have been ignored, or old ones used instead." aptget update -qq + + testsuccess ls rootdir/var/lib/apt/lists/*_InRelease } TESTDIR=$(readlink -f $(dirname $0)) |