diff options
author | Julian Andres Klode <jak@debian.org> | 2015-08-14 11:49:45 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-08-14 12:38:18 +0200 |
commit | b381a482eab0fc7b65b63cf0512ef1f97d775e34 (patch) | |
tree | 49e759c923d2db55e77b9c9910a1c3d17b9ed303 /test/integration/test-apt-update-rollback | |
parent | 51c4e07f4cba0615ff269b5a8d04dfd3d1313b00 (diff) |
Replace --force-yes by various options starting with --allow
This enables more fine grained control over such exceptions.
Diffstat (limited to 'test/integration/test-apt-update-rollback')
-rwxr-xr-x | test/integration/test-apt-update-rollback | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/test-apt-update-rollback b/test/integration/test-apt-update-rollback index 646484e7b..503b81985 100755 --- a/test/integration/test-apt-update-rollback +++ b/test/integration/test-apt-update-rollback @@ -120,7 +120,7 @@ test_unauthenticated_to_invalid_inrelease() { listcurrentlistsdirectory > lists.before testfailureequal "WARNING: The following packages cannot be authenticated! old -E: There are problems and -y was used without --force-yes" aptget install -qq -y old +E: There were unauthenticated packages and -y was used without --allow-unauthenticated" aptget install -qq -y old # go to authenticated but not correct add_new_package '+1hour' @@ -133,7 +133,7 @@ E: Some index files failed to download. They have been ignored, or old ones used testfailure ls rootdir/var/lib/apt/lists/*_InRelease testfailureequal "WARNING: The following packages cannot be authenticated! old -E: There are problems and -y was used without --force-yes" aptget install -qq -y old +E: There were unauthenticated packages and -y was used without --allow-unauthenticated" aptget install -qq -y old } test_inrelease_to_unauth_inrelease() { |