summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-get-update-unauth-warning
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-10-07 01:46:30 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2014-10-07 02:26:58 +0200
commit4dbfe436c60880f2625e4d3a9d0127a83dd6276e (patch)
treec3c947def18cbb02c20aaed2b41336acc8fae7ed /test/integration/test-apt-get-update-unauth-warning
parent5684f71fa0f6c1b765aa53e22ca3b024c578b9c9 (diff)
display errortext for all Err as well as Ign logs
consistently using Item::Failed in all specializec classes helps setting up some information bits otherwise unset, so some errors had an empty reason as an error. Ign is upgraded to display the error message we ignored to further help in understanding what happens.
Diffstat (limited to 'test/integration/test-apt-get-update-unauth-warning')
-rwxr-xr-xtest/integration/test-apt-get-update-unauth-warning7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/integration/test-apt-get-update-unauth-warning b/test/integration/test-apt-get-update-unauth-warning
index 27160b5f9..8e212a3c4 100755
--- a/test/integration/test-apt-get-update-unauth-warning
+++ b/test/integration/test-apt-get-update-unauth-warning
@@ -20,11 +20,12 @@ rm -f $APTARCHIVE/dists/unstable/*Release*
# update without authenticated files leads to warning
testequal "Ign file: unstable InRelease
+ File not found
Err file: unstable Release
-
+ File not found
W: The repository 'file: unstable Release' does not have a Release file. This is deprecated, please contact the owner of the repository.
W: Use --allow-insecure-repositories to force the update
-W: Failed to fetch file:$APTARCHIVE/dists/unstable/Release
+W: Failed to fetch file:$APTARCHIVE/dists/unstable/Release File not found
E: Some index files failed to download. They have been ignored, or old ones used instead." aptget update
@@ -34,7 +35,9 @@ testequal "partial" ls rootdir/var/lib/apt/lists
# allow override
testequal "Ign file: unstable InRelease
+ File not found
Ign file: unstable Release
+ File not found
Reading package lists...
W: The repository 'file: unstable Release' does not have a Release file. This is deprecated, please contact the owner of the repository." aptget update --allow-insecure-repositories
# ensure we can not install the package