[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [dpkg] 85/130: test: Add an initial functional test suite for dpkg-deb and dpkg-split



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: