summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-get-update-unauth-warning
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-10-06 09:34:06 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-10-06 09:34:06 +0200
commit0f56b51e125d24cf5af68459077ad1b682743bc2 (patch)
treef3a4ee2bf74b423bde5378911037587d5fdf82a4 /test/integration/test-apt-get-update-unauth-warning
parent1d970e6ce97385ed719a1ca169ec5cc7bfb82fea (diff)
update test
Diffstat (limited to 'test/integration/test-apt-get-update-unauth-warning')
-rwxr-xr-xtest/integration/test-apt-get-update-unauth-warning10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/integration/test-apt-get-update-unauth-warning b/test/integration/test-apt-get-update-unauth-warning
index 510249747..75863615e 100755
--- a/test/integration/test-apt-get-update-unauth-warning
+++ b/test/integration/test-apt-get-update-unauth-warning
@@ -20,13 +20,17 @@ rm -f $APTARCHIVE/dists/unstable/*Release*
# update without authenticated files leads to warning
testequal "Ign file: unstable InRelease
-Ign file: unstable Release
-Reading package lists...
+Err file: unstable Release
+
W: The data from 'file: unstable Release' is not signed. Packages from that repository can not be authenticated.
-W: Use --allow-insecure-repositories to force the update" aptget update
+W: Use --allow-insecure-repositories to force the update
+W: Failed to fetch file:$APTARCHIVE/dists/unstable/Release
+
+E: Some index files failed to download. They have been ignored, or old ones used instead." aptget update
# no package foo
testequal "Listing..." apt list foo
+testequal "partial" ls rootdir/var/lib/apt/lists
# allow override
testequal "Ign file: unstable InRelease