[libconfig-model-dpkg-perl] 01/02: fix test failure when $ENV{DEBEMAIL} is not set

dod at debian.org dod at debian.org
Mon Sep 5 12:29:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit f3dc9b74c2a840c114c89a273315839dcfc2517c
Author: Dominique Dumont <dod at debian.org>
Date:   Mon Sep 5 13:59:37 2016 +0200

    fix test failure when $ENV{DEBEMAIL} is not set
---
 t/dpkg.t | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/t/dpkg.t b/t/dpkg.t
index 295e284..0ee1b9f 100644
--- a/t/dpkg.t
+++ b/t/dpkg.t
@@ -118,8 +118,9 @@ my @teams = (
 );
 
 foreach my $team (@teams) {
-    # reset testsuite values
-    $root->load('control source Maintainer~ Testsuite~') ;
+    # reset testsuite values, maintainer cannot be null, so use John Doe instead
+    # of a packaging team that triggers a special behavior
+    $root->load('control source Maintainer="John Doe <john at doe.com>" Testsuite~') ;
     my ($str) = ($team =~ /pkg-(perl|ruby)/);
     my $target =  "autopkgtest-pkg-$str";
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git



More information about the Pkg-perl-cvs-commits mailing list