diff options
| author | Julian Andres Klode <jak@debian.org> | 2021-07-05 09:50:02 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2021-07-05 09:50:02 +0000 |
| commit | b1a384c646427e52abef5bdb799f7bbdbb505bb6 (patch) | |
| tree | cf4a44b08067ab1563d00a5437d06c43b4927eed /test/integration/framework | |
| parent | 690f6191a4332123a912c812a19a37cef253e90c (diff) | |
| parent | e6056cbc8faf82c368d4439b0fcdcf4f46047d59 (diff) | |
Merge branch 'fix/sizesharing' into 'main'
Allow packages from volatile sources to be reinstalled
See merge request apt-team/apt!177
Diffstat (limited to 'test/integration/framework')
| -rw-r--r-- | test/integration/framework | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/integration/framework b/test/integration/framework index f14b4da64..8c9abfbe4 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -486,10 +486,6 @@ 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 @@ -974,6 +970,8 @@ insertpackage() { Priority: $PRIORITY Section: $SECTION Installed-Size: 42 +Size: 42 +SHA256: 0000000000000000000000000000000000000000000000000000000000000000 Maintainer: Joe Sixpack <joe@example.org>" test "$arch" = 'none' || echo "Architecture: $arch" echo "Version: $VERSION @@ -981,7 +979,6 @@ Filename: pool/${DISTSECTION}/${NAME}/${NAME}_${VERSION}_${arch}.deb" test -z "$DEPENDENCIES" || printf "%b\n" "$DEPENDENCIES" echo "Description: $(printf '%s' "$DESCRIPTION" | head -n 1)" echo "Description-md5: $(printf '%s' "$DESCRIPTION" | md5sum | cut -d' ' -f 1)" - echo "SHA256: 0000000000000000000000000000000000000000000000000000000000000000" echo } >> "${PPATH}/Packages" done |
