[libconfig-model-dpkg-perl] 02/03: test for section line 'gnu-r'

dod at debian.org dod at debian.org
Tue Jan 14 17:45:37 UTC 2014


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 2824423d7bcaca4a98011fd216b29e8f2384c469
Author: Dominique Dumont <dod at debian.org>
Date:   Tue Jan 14 18:42:29 2014 +0100

    test for section line 'gnu-r'
---
 t/model_tests.d/dpkg-control-examples/gnu-r-stuff | 19 +++++++++++++++++++
 t/model_tests.d/dpkg-control-test-conf.pl         |  9 +++++++++
 2 files changed, 28 insertions(+)

diff --git a/t/model_tests.d/dpkg-control-examples/gnu-r-stuff b/t/model_tests.d/dpkg-control-examples/gnu-r-stuff
new file mode 100644
index 0000000..2182114
--- /dev/null
+++ b/t/model_tests.d/dpkg-control-examples/gnu-r-stuff
@@ -0,0 +1,19 @@
+Source: gnu-r-stuff
+Section: gnu-r
+Priority: optional
+Maintainer: Debian-Med Packaging Team <debian-med-packag... at lists.alioth.debian.org>
+Uploaders: Charles Plessy <ple... at debian.org>
+Build-Depends: debhelper ( >= 7  )
+Standards-Version: 3.8.1
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/seaview/trunk/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/seaview/trunk/
+Homepage: http://pbil.univ-lyon1.fr/software/seaview.html
+
+Package: gnu-r-view
+Architecture: any
+Section: gnu-r
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: clustalw, muscle, phyml
+Description: Multiplatform interface for sequence ...
+ SeaView reads and writes various file formats (NEXUS, MSF, CLUSTAL, FASTA,
+ PHYLIP, MASE, Newick) of DNA and ...
diff --git a/t/model_tests.d/dpkg-control-test-conf.pl b/t/model_tests.d/dpkg-control-test-conf.pl
index b367fa7..253a2f6 100644
--- a/t/model_tests.d/dpkg-control-test-conf.pl
+++ b/t/model_tests.d/dpkg-control-test-conf.pl
@@ -168,6 +168,15 @@ providing the following file:
             'source XS-Testsuite' => 'autopkgtest',
         },
     },
+    {
+        name => 'gnu-r-stuff',
+        load_warnings => [ qr/standards version/ ],
+        apply_fix => 1,
+        check => [
+            'source Section' => 'gnu-r',
+            'binary:gnu-r-view Section' => 'gnu-r',
+        ]
+    }
 );
 
 my $cache_file = 't/model_tests.d/dependency-cache.txt';

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