Bug#707165: dh-make-perl: Failed tests from t/dists.t file: incorrect timestamp regexp, for EDT time zone.
Oleg Gashev
oleg at gashev.net
Tue May 7 20:38:30 UTC 2013
Package: dh-make-perl
Version: 0.76-1
Severity: minor
If time zone is EDT, failed tests from t/dists.t file: Generated tree
matches template. Problem with incorrect timestamp regexp.
$ date +%z
-0400
Steps to reproduce:
1) git clone git://anonscm.debian.org/pkg-perl/packages/dh-make-perl.git
2) cd dh-make-perl
3) prove -l t/dists.t
Expected result: tests passed.
Actual result:
t/dists.t .. 1/16
# Failed test 'Generated tree matches template (initial)'
# at t/dists.t line 83.
# got: '---
/tmp/dh-make-perl/t/dists/Strange-0.1/debian/changelog Tue May 7
14:11:50 2013
# +++ /tmp/dh-make-perl/t/dists/Strange-0.1/wanted-debian/changelog Tue
May 7 14:05:56 2013
# @@ -2,4 +2,4 @@
#
# * Initial Release.
#
# - -- Joe Maintainer <joemaint at test.local> Tue, 7 May 2013 14:11:50 -0400
# + -- Joe Maintainer <joemaint at test.local> Sat, 29 Nov 2008 23:17:07 +0200
#
# '
# expected: ''
t/dists.t .. 3/16
# Failed test 'Generated tree matches template (refresh)'
# at t/dists.t line 83.
# got: '---
/tmp/dh-make-perl/t/dists/Strange-0.1/debian/changelog Tue May 7
14:11:50 2013
# +++
/tmp/dh-make-perl/t/dists/Strange-0.1/wanted-debian--refresh/changelog
Tue May 7 14:05:56 2013
# @@ -2,4 +2,4 @@
#
# * Initial Release.
#
# - -- Joe Maintainer <joemaint at test.local> Tue, 7 May 2013 14:11:50 -0400
# + -- Joe Maintainer <joemaint at test.local> Sat, 29 Nov 2008 23:17:07 +0200
#
# '
# expected: ''
t/dists.t .. 5/16
# Failed test 'Generated tree matches template (refresh
--source-format 3.0 (quilt))'
# at t/dists.t line 83.
# got: '---
/tmp/dh-make-perl/t/dists/Strange-0.1/debian/changelog Tue May 7
14:11:50 2013
# +++
/tmp/dh-make-perl/t/dists/Strange-0.1/wanted-debian--refresh--source-format=3.0_quilt/changelog
Tue May 7 14:05:56 2013
# @@ -2,4 +2,4 @@
#
# * Initial Release.
#
# - -- Joe Maintainer <joemaint at test.local> Tue, 7 May 2013 14:11:50 -0400
# + -- Joe Maintainer <joemaint at test.local> Sat, 29 Nov 2008 23:17:07 +0200
# '
# expected: ''
t/dists.t .. 7/16
# Failed test 'Generated tree matches template (email)'
# at t/dists.t line 83.
# got: '---
/tmp/dh-make-perl/t/dists/Strange-0.1/debian/changelog Tue May 7
14:11:53 2013
# +++
/tmp/dh-make-perl/t/dists/Strange-0.1/wanted-debian--refresh-email/changelogTue
May 7 14:05:56 2013
# @@ -8,4 +8,4 @@
#
# * Initial Release.
#
# - -- Joe Maintainer <joemaint at test.local> Tue, 7 May 2013 14:11:50 -0400
# + -- Joe Maintainer <joemaint at test.local> Sat, 29 Nov 2008 23:17:07 +0200
# '
# expected: ''
t/dists.t .. 9/16
# Failed test 'Generated tree matches template (initial)'
# at t/dists.t line 83.
# got: '---
/tmp/dh-make-perl/t/dists/Strange-2.1/debian/changelog Tue May 7
14:12:01 2013
# +++ /tmp/dh-make-perl/t/dists/Strange-2.1/wanted-debian/changelog Tue
May 7 14:05:56 2013
# @@ -2,4 +2,4 @@
#
# * Initial Release.
#
# - -- Joe Maintainer <joemaint at test.local> Tue, 7 May 2013 14:12:01 -0400
# + -- Joe Maintainer <joemaint at test.local> Sun, 30 Nov 2008 12:20:18 +0200
#
# '
# expected: ''
t/dists.t .. 11/16
# Failed test 'Generated tree matches template (refresh)'
# at t/dists.t line 83.
# got: '---
/tmp/dh-make-perl/t/dists/Strange-2.1/debian/changelog Tue May 7
14:12:01 2013
# +++
/tmp/dh-make-perl/t/dists/Strange-2.1/wanted-debian--refresh/changelog
Tue May 7 14:05:56 2013
# @@ -2,4 +2,4 @@
#
# * Initial Release.
#
# - -- Joe Maintainer <joemaint at test.local> Tue, 7 May 2013 14:12:01 -0400
# + -- Joe Maintainer <joemaint at test.local> Sun, 30 Nov 2008 12:20:18 +0200
#
# '
# expected: ''
t/dists.t .. 13/16
# Failed test 'Generated tree matches template (refresh
--source-format 3.0 (quilt))'
# at t/dists.t line 83.
# got: '---
/tmp/dh-make-perl/t/dists/Strange-2.1/debian/changelog Tue May 7
14:12:01 2013
# +++
/tmp/dh-make-perl/t/dists/Strange-2.1/wanted-debian--refresh--source-format=3.0_quilt/changelog
Tue May 7 14:05:56 2013
# @@ -2,4 +2,4 @@
#
# * Initial Release.
#
# - -- Joe Maintainer <joemaint at test.local> Tue, 7 May 2013 14:12:01 -0400
# + -- Joe Maintainer <joemaint at test.local> Sun, 30 Nov 2008 12:20:18 +0200
# '
# expected: ''
t/dists.t .. 15/16
# Failed test 'Generated tree matches template (email)'
# at t/dists.t line 83.
# got: '---
/tmp/dh-make-perl/t/dists/Strange-2.1/debian/changelog Tue May 7
14:12:04 2013
# +++
/tmp/dh-make-perl/t/dists/Strange-2.1/wanted-debian--refresh-email/changelogTue
May 7 14:05:56 2013
# @@ -8,4 +8,4 @@
#
# * Initial Release.
#
# - -- Joe Maintainer <joemaint at test.local> Tue, 7 May 2013 14:12:01 -0400
# + -- Joe Maintainer <joemaint at test.local> Sat, 29 Nov 2008 23:17:07 +0200
# '
# expected: ''
# Looks like you failed 8 tests of 16.
t/dists.t .. Dubious, test returned 8 (wstat 2048, 0x800)
Failed 8/16 subtests
Test Summary Report
-------------------
t/dists.t (Wstat: 2048 Tests: 16 Failed: 8)
Failed tests: 2, 4, 6, 8, 10, 12, 14, 16
Non-zero exit status: 8
Files=1, Tests=16, 22 wallclock secs ( 0.05 usr 0.04 sys + 12.05 cusr
2.96 csys = 15.10 CPU)
Result: FAIL
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dh-make-perl depends on:
ii debhelper 9.20120909
ii dpkg-dev 1.16.10
ii fakeroot 1.18.4-2
ii libapt-pkg-perl 0.1.27
ii libarray-unique-perl 0.08-1
ii libclass-accessor-perl 0.34-1
ii libdpkg-perl 1.16.10
ii libemail-address-perl 1.898-1
ii libemail-date-format-perl 1.002-1
ii libfile-which-perl 1.09-1
ii liblist-moreutils-perl 0.33-1+b1
ii libmodule-depends-perl 0.16-1
ii libparse-debcontrol-perl 2.005-3
ii libparse-debianchangelog-perl 1.2.0-1
ii libsoftware-license-perl 0.103005-1
ii libtie-ixhash-perl 1.23-1
ii libwww-mechanize-perl 1.71-1
ii libyaml-perl 0.84-1
ii make 3.81-8.2
ii perl 5.14.2-21
ii perl-modules [libcpan-meta-perl] 5.14.2-21
Versions of packages dh-make-perl recommends:
ii apt-file 2.5.1
ii git 1:1.7.10.4-2
ii pristine-tar 1.26
dh-make-perl suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timestamp.patch
Type: text/x-patch
Size: 1204 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130507/36a09ad8/attachment.bin>
More information about the pkg-perl-maintainers
mailing list