[devscripts] 01/03: Added test for life cycle of package

Osamu Aoki osamu at debian.org
Sat Dec 5 15:30:30 UTC 2015


Hi,

> +	./test_package_lifecycle

This fails when build under jessie.

For test_licensecheck_SL, it was clear this is due to the external package
differences so I disabled its test for the backport environment.

But I am not sure what is causing this failure under debuild on the
stable machine while pbuilder works fine.

Oops... I see quotation mark differences produced by dpkg-source
 `3.0 (quilt)'
 '3.0 (quilt)'

 $ debuild
...
./test_package_lifecycle
gpg: writing to `/home/osamu/ssd/devscripts/test/uscan/gpg/secring.gpg'
gpg: armor header: Version: GnuPG v1
gpg: writing to `/home/osamu/ssd/devscripts/test/uscan/gpg/pubring.gpg'
gpg: armor header: Version: GnuPG v1
gpg: using PGP trust model
/home/osamu/ssd/devscripts/test/uscan/gpg/pubring.gpg
-----------------------------------------------------
pub   4096R/72543FAF 2015-09-02
uid                  uscan test key (no secret) <none at debian.org>
sub   4096R/52C6ED39 2015-09-02

test_debuild
ASSERT:standard output of debuild --no-conf --no-lintian --preserve-envvar=PATH --preserve-envvar=PERL5LIB --preserve-envvar=DEBFULLNAME --preserve-envvar=DEBEMAIL --preserve-envvar=GNUPGHOME -k'uscan test key (no secret) <none at debian.org>' matches /home/osamu/ssd/devscripts/test/package_lifecycle/debuild.txt\n expected:<0> but was:<1>
14c14
< dpkg-source: info: using source format `3.0 (quilt)'
---
> dpkg-source: info: using source format '3.0 (quilt)'
32a33
>    dh_strip_nondeterminism
39c40
< dpkg-deb: building package `test' in `../test_1.0-1_all.deb'.
---
> dpkg-deb: building package 'test' in '../test_1.0-1_all.deb'.
test_dscverify
test_dscextractControl
test_dscextractChangelog
test_debchange
test_list_unreleased
test_debuild2
ASSERT:standard output of debuild --no-conf --no-lintian --preserve-envvar=PATH --preserve-envvar=PERL5LIB --preserve-envvar=DEBFULLNAME --preserve-envvar=DEBEMAIL --preserve-envvar=GNUPGHOME -k'uscan test key (no secret) <none at debian.org>' matches /home/osamu/ssd/devscripts/test/package_lifecycle/debuild.txt\n expected:<0> but was:<1>
14c14
< dpkg-source: info: using source format `3.0 (quilt)'
---
> dpkg-source: info: using source format '3.0 (quilt)'
32a33
>    dh_strip_nondeterminism
39c40
< dpkg-deb: building package `test' in `../test_1.0-2_all.deb'.
---
> dpkg-deb: building package 'test' in '../test_1.0-2_all.deb'.
test_debdiff

Ran 8 tests.

FAILED (failures=2)
...

Osamu






More information about the devscripts-devel mailing list