summaryrefslogtreecommitdiff
path: root/test/integration/framework
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2021-04-13 15:22:37 +0000
committerJulian Andres Klode <jak@debian.org>2021-04-13 15:22:37 +0000
commit734c6ce0d3250d0b35cf3d0dd54e8baae3774fa8 (patch)
treecea11605e9ddbe8e5763d8f2e822d9c764dbd363 /test/integration/framework
parent7a3b13832bf60d8d086c07ea96aa656ac9439f66 (diff)
parent1412cf51403286e9c040f9f86fd4d8306e62aff2 (diff)
Merge branch 'pu/unsized-packages' into 'main'
Fix downloads of unsized files that are largest in pipeline See merge request apt-team/apt!161
Diffstat (limited to 'test/integration/framework')
-rw-r--r--test/integration/framework4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/framework b/test/integration/framework
index cfde80329..412a96577 100644
--- a/test/integration/framework
+++ b/test/integration/framework
@@ -486,6 +486,10 @@ EOF
echo 'APT::Machine-ID "912e43bd1c1d4ba481f9f8ccab25f9ee";' > rootdir/etc/apt/apt.conf.d/machine-id
+ # XXX: We really ought to make the packages in the test suite all have Size fields.
+ # But this needs a lot more changes, so let's keep it simple for stable updates.
+ echo 'Acquire::AllowUnsizedPackages "true";' >> rootdir/etc/apt/apt.conf.d/temporary-allow-unsized-packages
+
configcompression '.' 'gz' #'bz2' 'lzma' 'xz'
confighashes 'SHA256' # these are tests, not security best-practices