This is an automated email from the git hooks/post-receive script. dmn pushed a commit to branch master in repository libcookie-baker-perl.
commit 664098fbab59f3d905b5f2008608c06722cff781 Author: Damyan Ivanov <d...@debian.org> Date: Sat Jun 20 08:01:07 2015 +0000 fix use_test-mocktime.patch to use set_fixed_time() instead of set_absolute_time() The former resets the clock at the given time and lets it tick. The later makes the clock seems stuck at the given time. This is important, since the tests depend on the clock staying at the time that is set. If the setting with set_absolute_time() happens at the end of a second. the tests may be run in the next second, leading to false test failures. Discovered by Debci: https://ci.debian.net/data/packages/unstable/amd64/libc/libcookie-baker-perl/20150618_062701.autopkgtest.log.gz --- debian/patches/use_test-mocktime.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/patches/use_test-mocktime.patch b/debian/patches/use_test-mocktime.patch index e161245..304a4e4 100644 --- a/debian/patches/use_test-mocktime.patch +++ b/debian/patches/use_test-mocktime.patch @@ -10,7 +10,7 @@ Forwarded: not-needed use Test::More; -use Test::Time time => 1381154217; +use Test::MockTime; -+Test::MockTime::set_absolute_time(1381154217); ++Test::MockTime::set_fixed_time(1381154217); use Cookie::Baker; # Freeze time -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcookie-baker-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkgfirstname.lastname@example.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits