[SCM] Debian native package for Config::Model::Dpkg branch, async_check, updated. debian/2.032-17-g212ad4a

Dominique Dumont dod at debian.org
Tue Mar 12 17:52:15 UTC 2013


The following commit has been merged in the async_check branch:
commit 212ad4abab9f21f789fec3d6fded7f9574c7ac01
Author: Dominique Dumont <dod at debian.org>
Date:   Tue Mar 12 18:37:39 2013 +0100

    fixed tests

diff --git a/t/model_tests.d/debian-dpkg-control-test-conf.pl b/t/model_tests.d/debian-dpkg-control-test-conf.pl
index 5c07a80..3fd3bb6 100644
--- a/t/model_tests.d/debian-dpkg-control-test-conf.pl
+++ b/t/model_tests.d/debian-dpkg-control-test-conf.pl
@@ -82,28 +82,28 @@ providing the following file:
 
         # t4
         check => { 'source X-Python-Version' => ">= 2.3, << 2.5" },
-        load_warnings => [ (qr/deprecated/) x 2, qr/empty/ ],
-        # dump_warnings => [ qr/empty/ ],
+        load_warnings => [ (qr/deprecated/) x 2 ],
+        dump_warnings => [ qr/empty/ ],
     },
     {
 
         # t5
         check => { 'source X-Python-Version' => ">= 2.3, << 2.6" },
-        load_warnings => [ (qr/deprecated/) x 2, qr/empty/ ],
-        # dump_warnings => [ qr/empty/ ],
+        load_warnings => [ (qr/deprecated/) x 2],
+        dump_warnings => [ qr/empty/ ],
     },
     {
 
         # t6
         check => { 'source X-Python-Version' => ">= 2.3" },
-        load_warnings => [ (qr/deprecated/) x 2, qr/empty/ ],
-        # dump_warnings => [ qr/empty/ ],
+        load_warnings => [ (qr/deprecated/) x 2 ],
+        dump_warnings => [ qr/empty/ ],
     },
     {
         name => 'sdlperl',
         load => 'source Uploaders:2="Sam Hocevar (Debian packages) <sam at zoy.org>"',
         load_warnings => [ ( qr/Warning/) x 9 ],
-        load_check => 'no',
+        load_check => 'skip',
         check => { 'binary:libsdl-perl Depends:2' => '${misc:Depends}' },
         apply_fix => 1,
     },
@@ -114,7 +114,7 @@ providing the following file:
             'source Build-Depends' => "do NOT add libgtk2-perl to build-deps (see bug #554704)",
             'source Maintainer'    => "what a fine\nteam this one is",
         },
-        load_check => 'no',
+        load_check => 'skip',
         apply_fix => 1,
     },
     {
diff --git a/t/model_tests.d/debian-dpkg-copyright-test-conf.pl b/t/model_tests.d/debian-dpkg-copyright-test-conf.pl
index 164f832..d7d621a 100644
--- a/t/model_tests.d/debian-dpkg-copyright-test-conf.pl
+++ b/t/model_tests.d/debian-dpkg-copyright-test-conf.pl
@@ -12,7 +12,7 @@ $skip = ( $@ or not -r '/etc/debian_version') ? 1 : 0 ;
 @tests = (
     { # t0
         load_warnings => [ qr/Missing/, (qr/deprecated/) x 3 , ],
-        load_check => 'no',
+        load_check => 'skip',
         check => {
             'Files:"*" License full_license' => "[PSF LICENSE TEXT]",
             'Files:"*" Copyright' => "2008, John Doe <john.doe\@example.com>\n2007, Jane Smith <jane.smith\@example.com>",
@@ -96,7 +96,7 @@ $skip = ( $@ or not -r '/etc/debian_version') ? 1 : 0 ;
     { # t7
         # example from CANDIDATE DEP-5 spec (nb 7)
         load_warnings => [ (qr/Adding/) x 1 , qr/Format does not match/ ],
-        load_check => 'no',
+        load_check => 'skip',
         apply_fix => 1,
         check => { 
             Format => "http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/", 
@@ -185,7 +185,7 @@ in ‘/usr/share/common-licenses/GPL-1’." } ,
     },
     {
         name => 'migrate-license-alias',
-        load_check => 'no', # missing Files: * in 2nd section
+        load_check => 'skip', # missing Files: * in 2nd section
         load_warnings => [ qr/Missing/, (qr/deprecated/) x 4  ],
         check => { 
             'Files:"*" License short_name' => "Artistic or GPL-1+" ,

-- 
Debian native package for Config::Model::Dpkg



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