From 18140e1db1c386a8c6da004956ae8a96152de4d1 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Thu, 10 Jun 2021 16:38:09 +0200 Subject: Give our test packages proper size information Temporary hacks should be temporary, especially if they hide bugs. After fixing one in the previous commit this is just busy work to add download information to the places which check that output. Gbp-Dch: Ignore --- test/integration/test-releasefile-verification | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'test/integration/test-releasefile-verification') diff --git a/test/integration/test-releasefile-verification b/test/integration/test-releasefile-verification index 382d89ecd..5f873b82c 100755 --- a/test/integration/test-releasefile-verification +++ b/test/integration/test-releasefile-verification @@ -40,8 +40,9 @@ Suggested packages: The following NEW packages will be installed: apt 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. +Need to get 3 B of archives. After this operation, 5370 kB of additional disk space will be used. -Get:1 http://localhost:${APTHTTPPORT} apt 0.7.25.3 +Get:1 http://localhost:${APTHTTPPORT} apt 0.7.25.3 [3 B] Download complete and in download only mode" aptget install apt -dy } @@ -54,8 +55,9 @@ Suggested packages: The following NEW packages will be installed: apt 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. +Need to get 3 B of archives. After this operation, 5808 kB of additional disk space will be used. -Get:1 http://localhost:${APTHTTPPORT} apt 0.8.0~pre1 +Get:1 http://localhost:${APTHTTPPORT} apt 0.8.0~pre1 [3 B] Download complete and in download only mode" aptget install apt -dy } @@ -67,6 +69,7 @@ Suggested packages: The following NEW packages will be installed: apt 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. +Need to get 3 B of archives. After this operation, 5370 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! apt @@ -81,6 +84,7 @@ Suggested packages: The following NEW packages will be installed: apt 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. +Need to get 3 B of archives. After this operation, 5808 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! apt @@ -88,7 +92,7 @@ E: There were unauthenticated packages and -y was used without --allow-unauthent } # fake our downloadable file -touch aptarchive/apt.deb +echo -n 'apt' > aptarchive/apt.deb PKGFILE="${TESTDIR}/$(echo "$(basename "$0")" | sed 's#^test-#Packages-#')" -- cgit v1.2.3-70-g09d2