From f695e76199a43b7f4d5816e20d18496b6448b833 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 16 Mar 2016 16:46:39 +0100 Subject: Report non-transient errors as errors, not as warnings This makes it easier to understand what really is an error and what not. --- test/integration/test-apt-update-weak-hashes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/integration/test-apt-update-weak-hashes') diff --git a/test/integration/test-apt-update-weak-hashes b/test/integration/test-apt-update-weak-hashes index 38c739099..f6b68fff0 100755 --- a/test/integration/test-apt-update-weak-hashes +++ b/test/integration/test-apt-update-weak-hashes @@ -17,7 +17,7 @@ APTARCHIVE="$(readlink -f ./aptarchive)" msgmsg 'Release contains only weak hashes' FILENAME="${APTARCHIVE}/dists/unstable/InRelease" MANGLED="$(readlink -f ./rootdir)/var/lib/apt/lists/partial/$(echo "$FILENAME" | sed 's#/#_#g')" -testfailuremsg "W: Failed to fetch file:${FILENAME} No Hash entry in Release file ${MANGLED}, which is considered strong enough for security purposes +testfailuremsg "E: Failed to fetch file:${FILENAME} No Hash entry in Release file ${MANGLED}, which is considered strong enough for security purposes E: Some index files failed to download. They have been ignored, or old ones used instead." apt update testnopackage foo testnosrcpackage foo @@ -25,7 +25,7 @@ testnosrcpackage foo msgmsg 'Release contains no hashes' sed -i -e '/^ / d' -e '/^MD5Sum:/ d' "$APTARCHIVE/dists/unstable/Release" signreleasefiles -testfailuremsg "W: Failed to fetch file:${FILENAME} No Hash entry in Release file ${MANGLED} +testfailuremsg "E: Failed to fetch file:${FILENAME} No Hash entry in Release file ${MANGLED} E: Some index files failed to download. They have been ignored, or old ones used instead." apt update testnopackage foo testnosrcpackage foo -- cgit v1.2.3-70-g09d2