summaryrefslogtreecommitdiff
path: root/test/integration/test-releasefile-verification
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2021-06-10 16:38:09 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2021-06-10 16:38:09 +0200
commit18140e1db1c386a8c6da004956ae8a96152de4d1 (patch)
treef9c7eb36be371228a82c7ea425b76e0536e9ebe3 /test/integration/test-releasefile-verification
parent7adecd8b2543fc8ee5288b91525a366cf9525cb8 (diff)
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
Diffstat (limited to 'test/integration/test-releasefile-verification')
-rwxr-xr-xtest/integration/test-releasefile-verification10
1 files changed, 7 insertions, 3 deletions
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-#')"