[libconfig-model-dpkg-perl] 01/02: Fix broken Testsuite setting depending on Maintainer value
dod at debian.org
dod at debian.org
Mon Nov 17 12:24:22 UTC 2014
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 36761b121b9e0740a9f264d4c31d0e34e71bdc5e
Author: Dominique Dumont <dod at debian.org>
Date: Mon Nov 17 13:18:01 2014 +0100
Fix broken Testsuite setting depending on Maintainer value
---
lib/Config/Model/models/Dpkg/Control/Source.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/Config/Model/models/Dpkg/Control/Source.pl b/lib/Config/Model/models/Dpkg/Control/Source.pl
index eea23a4..e8575f6 100644
--- a/lib/Config/Model/models/Dpkg/Control/Source.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Source.pl
@@ -116,9 +116,9 @@ $str ? \'autopkgtest-pkg-\'.$str : undef;
'team-test' => {
'code' => 'my $m = $self->grab_value(\'- Maintainer\');
my ($team) = ( $m =~ /(pkg-(?:perl|ruby))/ );
-defined and $_ eq \'autopkgtest-pkg-\'.$team ;',
+not defined $team or $_ eq \'autopkgtest-\'.$team ;',
'fix' => '$_ = undef; # restore default value',
- 'msg' => 'Missing pkg-perl team Testsuite value.'
+ 'msg' => 'Wrong team value'
}
},
'warn_unless_match' => {
--
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