Re: [dpkg] 85/130: test: Add an initial functional test suite for dpkg-deb and dpkg-split
- To: debian-dpkg@lists.debian.org
- Subject: Re: [dpkg] 85/130: test: Add an initial functional test suite for dpkg-deb and dpkg-split
- From: Sven Joachim <svenjoac@gmx.de>
- Date: Sun, 30 Oct 2016 11:19:13 +0100
- Message-id: <[🔎] 87wpgqkula.fsf@turtle.gmx.de>
- Mail-followup-to: debian-dpkg@lists.debian.org
- In-reply-to: <E1c0ixI-0005Ey-Np@moszumanska.debian.org> (Guillem Jover's message of "Sun, 30 Oct 2016 05:46:52 +0000")
- References: <20161030054642.18586.70869@moszumanska.debian.org> <E1c0ixI-0005Ey-Np@moszumanska.debian.org>
On 2016-10-30 05:46 +0000, Guillem Jover wrote:
> +AT_CHECK([
> +# Test non-uniform data.tar/control.tar member compression
> +ar rc pkg-mixed-comp.deb debian-binary control.tar.xz data.tar.gz
> +ar t pkg-mixed-comp.deb
> +# XXX: Ideally we would have no need to strip trailing spaces.
> +dpkg-deb -I pkg-mixed-comp.deb | sed -e 's/ *$//'
> +dpkg-deb -c pkg-mixed-comp.deb
> +], [], [debian-binary
> +control.tar.xz
> +data.tar.gz
> + new debian package, version 2.0.
> + size 682 bytes: control archive=336 bytes.
> + 193 bytes, 7 lines control
> + Package: pkg-deb-format
> + Version: 0.0-1
> + Section: test
> + Priority: extra
> + Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org>
> + Architecture: all
> + Description: test package - deb format support
> +drwxr-xr-x root/root 0 1970-01-01 00:00 ./
> +-rw-r--r-- root/root 5 1970-01-01 00:00 ./file-templ
> +])
This test fails for me, because the size of pkg-mixed-comp.deb is 672
bytes, not 682. Maybe it is dependent on the version of liblzma?
Although this particular test did not fail on Jenkins, rather they
reported a dpkg-split failure which I could not reproduce.
Cheers,
Sven
Reply to: