diff options
author | Julian Andres Klode <jak@debian.org> | 2016-03-16 16:46:39 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-03-16 17:56:50 +0100 |
commit | f695e76199a43b7f4d5816e20d18496b6448b833 (patch) | |
tree | b7901f1620a15e630e47d6b0e2c438a76a9e9e8f /test/integration/test-apt-update-weak-hashes | |
parent | fb193b1cd43f0e8c3b7e5f69f183b9abe7e83761 (diff) |
Report non-transient errors as errors, not as warnings
This makes it easier to understand what really is an error
and what not.
Diffstat (limited to 'test/integration/test-apt-update-weak-hashes')
-rwxr-xr-x | test/integration/test-apt-update-weak-hashes | 4 |
1 files changed, 2 insertions, 2 deletions
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 |