[libconfig-model-dpkg-perl] 03/03: test that old control order is kept when writing

dod at debian.org dod at debian.org
Fri Sep 29 12:09:55 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 85d455722c9800aa00f67693bd492343dbbcbeba
Author: Dominique Dumont <dod at debian.org>
Date:   Fri Sep 29 14:04:53 2017 +0200

    test that old control order is kept when writing
---
 t/model_tests.d/dpkg-control-test-conf.pl | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/t/model_tests.d/dpkg-control-test-conf.pl b/t/model_tests.d/dpkg-control-test-conf.pl
index 0a0fe76..4b566f0 100644
--- a/t/model_tests.d/dpkg-control-test-conf.pl
+++ b/t/model_tests.d/dpkg-control-test-conf.pl
@@ -45,6 +45,12 @@ providing the following file:
             qr/dependency/, qr/dual life/, (qr/dependency/) x 2
         ],
         apply_fix => 1,
+        file_contents_like => {
+            'debian/control' => [
+                # check that write order is tweaked for Standards-Version
+                qr!Standards-Version: [\d.]+\nVcs-Browser!
+            ]
+        },
     },
     {
 

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