[libconfig-model-dpkg-perl] 03/03: test Priority replacement (req Config; :Model 2.112)

dod at debian.org dod at debian.org
Thu Sep 28 18:43:06 UTC 2017


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 0aeb72c087f38b197ac0d86f05ac48936206aede
Author: Dominique Dumont <dod at debian.org>
Date:   Thu Sep 28 20:42:09 2017 +0200

    test Priority replacement (req Config;:Model 2.112)
---
 t/model_tests.d/dpkg-control-examples/t0  |  2 +-
 t/model_tests.d/dpkg-control-examples/t4  |  3 ++-
 t/model_tests.d/dpkg-control-test-conf.pl | 10 ++++++++--
 3 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/t/model_tests.d/dpkg-control-examples/t0 b/t/model_tests.d/dpkg-control-examples/t0
index bd124b4..c48a8ed 100644
--- a/t/model_tests.d/dpkg-control-examples/t0
+++ b/t/model_tests.d/dpkg-control-examples/t0
@@ -1,6 +1,6 @@
 Source: libdist-zilla-plugins-cjm-perl
 Section: perl
-Priority: optional
+Priority: extra
 Build-Depends: debhelper (>= 7)
 X-Comment: required by
  Debian #810023
diff --git a/t/model_tests.d/dpkg-control-examples/t4 b/t/model_tests.d/dpkg-control-examples/t4
index 141f771..d6a0118 100644
--- a/t/model_tests.d/dpkg-control-examples/t4
+++ b/t/model_tests.d/dpkg-control-examples/t4
@@ -1,5 +1,6 @@
 Source: python-foo
 Maintainer: dod <dod at foo.bar>
-Priority: optional
+Priority: extra
+Standards-Version: 3.9.8
 Build-Depends: debhelper (>= 7)
 XS-Python-Version: 2.3,   2.4,   2.5
diff --git a/t/model_tests.d/dpkg-control-test-conf.pl b/t/model_tests.d/dpkg-control-test-conf.pl
index b74ed9f..8f70de6 100644
--- a/t/model_tests.d/dpkg-control-test-conf.pl
+++ b/t/model_tests.d/dpkg-control-test-conf.pl
@@ -19,6 +19,7 @@ providing the following file:
         # t0
         check => {
             'source Source',          "libdist-zilla-plugins-cjm-perl",
+            'source Standards-Version', "4.1.0",
             'source Build-Depends:0', "debhelper (>= 7)",
             # not really happy about the versioned dep of libmeta-cpan-perl created ex-nihilo.
             # this is a side effect of other compromises in dual dependency handling which should be harmless
@@ -28,6 +29,7 @@ providing the following file:
             'source Build-Depends-Indep:6', "libmodule-build-perl (>= 0.360000) | perl (<< 5.19.0)", # fixed
             'source Build-Depends-Indep:7', "udev [linux-any] | makedev [linux-any]",
             'source X-Comment' => qr/Debian #810023/,
+            'source Priority' => 'optional',
             'binary:libdist-zilla-plugins-cjm-perl X-Comment' => qr/Debian #810023/,
 
             'binary:libdist-zilla-plugins-cjm-perl Depends:0',
@@ -89,8 +91,12 @@ providing the following file:
     {
 
         # t4
-        check => { 'source X-Python-Version' => ">= 2.3, << 2.5" },
-        load_warnings => [ (qr/deprecated/) x 1 ],
+        check => {
+            'source Priority' => 'extra',
+            'source X-Python-Version' => ">= 2.3, << 2.5",
+            'source Standards-Version', "3.9.8",
+        },
+        load_warnings => [ qr/Standards-Version/, (qr/deprecated/) x 1 ],
     },
     {
 

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