[libconfig-model-dpkg-perl] 06/11: test copyright update from scratch

dod at debian.org dod at debian.org
Fri Mar 20 16:25:54 UTC 2015


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 e05d0729353f21c1b1574fb4c1aa177ae1beda61
Author: Dominique Dumont <dod at debian.org>
Date:   Mon Mar 16 19:28:56 2015 +0100

    test copyright update from scratch
---
 t/model_tests.d/dpkg-copyright-test-conf.pl | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/t/model_tests.d/dpkg-copyright-test-conf.pl b/t/model_tests.d/dpkg-copyright-test-conf.pl
index cbcf234..f35990b 100644
--- a/t/model_tests.d/dpkg-copyright-test-conf.pl
+++ b/t/model_tests.d/dpkg-copyright-test-conf.pl
@@ -1,6 +1,7 @@
 use Data::Dumper;
 use IO::File;
-use utf8; 
+use utf8;
+use Path::Tiny;
 
 $conf_file_name = "copyright";
 $conf_dir       = 'debian';
@@ -252,6 +253,19 @@ in ‘/usr/share/common-licenses/GPL-1’.",
 #            '2010, Frank Wiegand <fwie at cpan.org>',
         },
     },
+
+    {
+        name => 'update-from-scratch',
+        update => { in => path('t/scanner/examples/pan.in') },
+        check => {
+            "License:GPL-2 text" => {value => undef, mode => 'custom'},
+            "License:GPL-2 text" => qr/GNU/,
+        },
+        wr_check => {
+            "License:GPL-2 text" => {value => undef, mode => 'custom'},
+            "License:GPL-2 text" => qr/GNU/,
+        }
+    }
 );
 
 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