From 496c8b4191790231258e644ac8cd4096d54f445f Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sun, 24 Apr 2022 00:03:38 +0200 Subject: Show hashes calculated by main thread in error messages The main thread calculates the hash sums if the method hasn't to be able to verify the files, but while a failure is detected and reported, the error messages did not include the hash sums which looks at least puzzling. So to have a complete error message we ensure that the hashes we calculated are appended to the message from the method so that it looks for the higher level code as if the method had calculated the hashes. --- test/integration/test-apt-update-incomplete-file-mirror | 1 + 1 file changed, 1 insertion(+) (limited to 'test/integration') diff --git a/test/integration/test-apt-update-incomplete-file-mirror b/test/integration/test-apt-update-incomplete-file-mirror index d6894d607..86eb890a7 100755 --- a/test/integration/test-apt-update-incomplete-file-mirror +++ b/test/integration/test-apt-update-incomplete-file-mirror @@ -29,3 +29,4 @@ find aptarchive/dists -name 'Packages' | while read FILE; do echo 'hacked' > $FILE done testfailure apt update +testsuccessequal '4' grep -c -- '- Filesize:' rootdir/tmp/testfailure.output -- cgit v1.2.3-70-g09d2