[libconfig-model-dpkg-perl] 02/06: reduce warnings during tests

dod at debian.org dod at debian.org
Wed Aug 31 19:01:10 UTC 2016


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

dod pushed a commit to branch check-unused-licenses-live
in repository libconfig-model-dpkg-perl.

commit bc234004079a741896621a96bded82d0591ee7b8
Author: Dominique Dumont <dod at debian.org>
Date:   Wed Aug 31 20:55:35 2016 +0200

    reduce warnings during tests
---
 t/dpkg.t | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/dpkg.t b/t/dpkg.t
index 97cbbde..6c7186a 100644
--- a/t/dpkg.t
+++ b/t/dpkg.t
@@ -126,7 +126,7 @@ warning_like {
 
 
 
-my $lic_text = $root->grab("copyright License:FooBar text");
+my $lic_text = $root->grab(steps => "copyright License:FooBar text", check => 'no');
 is($lic_text->fetch, undef, "test unknown lic text") ;
 
 say "store lic_text" if $trace ;
@@ -135,7 +135,7 @@ $lic_text->store("yada yada");
 say "test stored lic_text" if $trace ;
 is($lic_text->fetch, 'yada yada', "test specified lic text") ;
 
-my $lic_gpl = $root->grab("copyright License:GPL-1 text");
+my $lic_gpl = $root->grab(step => "copyright License:GPL-1 text", check => 'no');
 like($lic_gpl->fetch,qr!/usr/share/common-licenses/GPL-1!
      , "retrieved license text summary") ;
 

-- 
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