[libconfig-model-dpkg-perl] 03/03: test conversion of File into Files section

dod at debian.org dod at debian.org
Sat Sep 7 16:27:49 UTC 2013


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 263b166b5fd78b58c3566d935728de68d397d19f
Author: Dominique Dumont <dod at debian.org>
Date:   Sat Sep 7 18:27:39 2013 +0200

    test conversion of File into Files section
---
 .../dpkg-copyright-examples/file-instead-of-files       |   15 +++++++++++++++
 t/model_tests.d/dpkg-copyright-test-conf.pl             |    9 +++++++++
 2 files changed, 24 insertions(+)

diff --git a/t/model_tests.d/dpkg-copyright-examples/file-instead-of-files b/t/model_tests.d/dpkg-copyright-examples/file-instead-of-files
new file mode 100644
index 0000000..3c3b2b3
--- /dev/null
+++ b/t/model_tests.d/dpkg-copyright-examples/file-instead-of-files
@@ -0,0 +1,15 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: http://some.where.com
+
+Files: *
+Copyright: (c) 2000-2001 Andrew Ho
+Copyright: (c) 2004 David Coppit
+ The original code (written before April 20, 2001) was written [...]
+License: MPL-1.1
+
+File: debian/patches/half_code_pod_errors.patch
+Copyright: 2010, Frank Wiegand <fwie at cpan.org>
+License: MPL-1.1
+
+License: MPL-1.1
+ [MPL-1.1 LICENSE TEXT]
diff --git a/t/model_tests.d/dpkg-copyright-test-conf.pl b/t/model_tests.d/dpkg-copyright-test-conf.pl
index 423b889..8481c49 100644
--- a/t/model_tests.d/dpkg-copyright-test-conf.pl
+++ b/t/model_tests.d/dpkg-copyright-test-conf.pl
@@ -235,6 +235,15 @@ in ‘/usr/share/common-licenses/GPL-1’.",
             . "The original code (written before April 20, 2001) was written [...]",
         },
     },
+    {
+        # Debian bug #721672
+        name => 'file-instead-of-files' ,
+
+        check => {
+            "Files:debian/patches/half_code_pod_errors.patch Copyright" =>
+            '2010, Frank Wiegand <fwie at cpan.org>',
+        },
+    },
 );
 
 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