[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/03: Testsuite for to be imported application-not-library check of pkg-perl-tools



This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch ppt-lc-mover
in repository lintian.

commit f119656ad0965009ebba7d73b7c9e757911f4ca0
Author: Axel Beckert <abe@deuxchevaux.org>
Date:   Tue Aug 11 13:57:04 2015 +0200

    Testsuite for to be imported application-not-library check of pkg-perl-tools
---
 .../debian/bin/libapp-something-perl               |  3 +
 .../debian/bin/libsomething-else-perl              |  3 +
 .../debian/bin/python-something                    |  3 +
 .../debian/bin/ruby-something                      |  3 +
 .../debian/bin/unspecified-something-pl            |  3 +
 .../debian/bin/unspecified-something-py            |  3 +
 .../debian/bin/unspecified-something-rb            |  3 +
 .../debian/debian/control.in                       | 76 ++++++++++++++++++++++
 .../debian/debian/libapp-something-perl.install    |  1 +
 .../debian/debian/libsomething-else-perl.install   |  1 +
 .../debian/debian/python-something.install         |  1 +
 .../debian/debian/ruby-something.install           |  1 +
 .../debian/debian/unspecified-something-pl.install |  1 +
 .../debian/debian/unspecified-something-py.install |  1 +
 .../debian/debian/unspecified-something-rb.install |  1 +
 t/tests/application-not-library/desc               |  5 ++
 t/tests/application-not-library/tags               | 19 ++++++
 17 files changed, 128 insertions(+)

diff --git a/t/tests/application-not-library/debian/bin/libapp-something-perl b/t/tests/application-not-library/debian/bin/libapp-something-perl
new file mode 100755
index 0000000..733bbce
--- /dev/null
+++ b/t/tests/application-not-library/debian/bin/libapp-something-perl
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo Foobar
diff --git a/t/tests/application-not-library/debian/bin/libsomething-else-perl b/t/tests/application-not-library/debian/bin/libsomething-else-perl
new file mode 100755
index 0000000..733bbce
--- /dev/null
+++ b/t/tests/application-not-library/debian/bin/libsomething-else-perl
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo Foobar
diff --git a/t/tests/application-not-library/debian/bin/python-something b/t/tests/application-not-library/debian/bin/python-something
new file mode 100755
index 0000000..733bbce
--- /dev/null
+++ b/t/tests/application-not-library/debian/bin/python-something
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo Foobar
diff --git a/t/tests/application-not-library/debian/bin/ruby-something b/t/tests/application-not-library/debian/bin/ruby-something
new file mode 100755
index 0000000..733bbce
--- /dev/null
+++ b/t/tests/application-not-library/debian/bin/ruby-something
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo Foobar
diff --git a/t/tests/application-not-library/debian/bin/unspecified-something-pl b/t/tests/application-not-library/debian/bin/unspecified-something-pl
new file mode 100755
index 0000000..733bbce
--- /dev/null
+++ b/t/tests/application-not-library/debian/bin/unspecified-something-pl
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo Foobar
diff --git a/t/tests/application-not-library/debian/bin/unspecified-something-py b/t/tests/application-not-library/debian/bin/unspecified-something-py
new file mode 100755
index 0000000..733bbce
--- /dev/null
+++ b/t/tests/application-not-library/debian/bin/unspecified-something-py
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo Foobar
diff --git a/t/tests/application-not-library/debian/bin/unspecified-something-rb b/t/tests/application-not-library/debian/bin/unspecified-something-rb
new file mode 100755
index 0000000..733bbce
--- /dev/null
+++ b/t/tests/application-not-library/debian/bin/unspecified-something-rb
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo Foobar
diff --git a/t/tests/application-not-library/debian/debian/control.in b/t/tests/application-not-library/debian/debian/control.in
new file mode 100644
index 0000000..a29e324
--- /dev/null
+++ b/t/tests/application-not-library/debian/debian/control.in
@@ -0,0 +1,76 @@
+Source: {$source}
+Priority: extra
+Section: devel
+Maintainer: {$author}
+Standards-Version: {$standards_version}
+Build-Depends: debhelper (>= 9), perl
+
+Package: libapp-something-perl
+Architecture: any
+Section: perl
+Depends: $\{misc:Depends\}, $\{shlib:Depends\}
+Description: {$description}
+ This is an App:: test package designed to exercise some feature or
+ tag of Lintian.  It is part of the Lintian test suite and may do very
+ odd things.  It should not be installed like a regular package.  It
+ may be an empty package.
+
+Package: libsomething-else-perl
+Architecture: any
+Section: perl
+Depends: $\{misc:Depends\}, $\{shlib:Depends\}
+Description: {$description}
+ This is a perl test package designed to exercise some feature or tag
+ of Lintian.  It is part of the Lintian test suite and may do very odd
+ things.  It should not be installed like a regular package.  It may
+ be an empty package.
+
+Package: python-something
+Architecture: any
+Section: python
+Depends: $\{misc:Depends\}, $\{shlib:Depends\}
+Description: {$description}
+ This is a Python test package designed to exercise some feature or
+ tag of Lintian.  It is part of the Lintian test suite and may do very
+ odd things.  It should not be installed like a regular package.  It
+ may be an empty package.
+
+Package: ruby-something
+Architecture: any
+Section: ruby
+Depends: $\{misc:Depends\}, $\{shlib:Depends\}
+Description: {$description}
+ This is a ruby test package designed to exercise some feature or tag
+ of Lintian.  It is part of the Lintian test suite and may do very odd
+ things.  It should not be installed like a regular package.  It may
+ be an empty package.
+
+Package: unspecified-something-pl
+Architecture: any
+Section: perl
+Depends: $\{misc:Depends\}, $\{shlib:Depends\}
+Description: {$description}
+ This is a perl-ish test package designed to exercise some feature or
+ tag of Lintian.  It is part of the Lintian test suite and may do very
+ odd things.  It should not be installed like a regular package.  It
+ may be an empty package.
+
+Package: unspecified-something-py
+Architecture: any
+Section: python
+Depends: $\{misc:Depends\}, $\{shlib:Depends\}
+Description: {$description}
+ This is a python-ish test package designed to exercise some feature
+ or tag of Lintian.  It is part of the Lintian test suite and may do
+ very odd things.  It should not be installed like a regular package.
+ It may be an empty package.
+
+Package: unspecified-something-rb
+Architecture: any
+Section: ruby
+Depends: $\{misc:Depends\}, $\{shlib:Depends\}
+Description: {$description}
+ This is a ruby-ish (rubbish? ;-) test package designed to exercise
+ some feature or tag of Lintian.  It is part of the Lintian test suite
+ and may do very odd things.  It should not be installed like a
+ regular package.  It may be an empty package.
diff --git a/t/tests/application-not-library/debian/debian/libapp-something-perl.install b/t/tests/application-not-library/debian/debian/libapp-something-perl.install
new file mode 100644
index 0000000..388bdbd
--- /dev/null
+++ b/t/tests/application-not-library/debian/debian/libapp-something-perl.install
@@ -0,0 +1 @@
+bin/libapp-something-perl usr/bin
diff --git a/t/tests/application-not-library/debian/debian/libsomething-else-perl.install b/t/tests/application-not-library/debian/debian/libsomething-else-perl.install
new file mode 100644
index 0000000..2a4ae74
--- /dev/null
+++ b/t/tests/application-not-library/debian/debian/libsomething-else-perl.install
@@ -0,0 +1 @@
+bin/libsomething-else-perl usr/bin
diff --git a/t/tests/application-not-library/debian/debian/python-something.install b/t/tests/application-not-library/debian/debian/python-something.install
new file mode 100644
index 0000000..ef65bd8
--- /dev/null
+++ b/t/tests/application-not-library/debian/debian/python-something.install
@@ -0,0 +1 @@
+bin/python-something usr/bin
diff --git a/t/tests/application-not-library/debian/debian/ruby-something.install b/t/tests/application-not-library/debian/debian/ruby-something.install
new file mode 100644
index 0000000..b4178bb
--- /dev/null
+++ b/t/tests/application-not-library/debian/debian/ruby-something.install
@@ -0,0 +1 @@
+bin/ruby-something usr/bin
diff --git a/t/tests/application-not-library/debian/debian/unspecified-something-pl.install b/t/tests/application-not-library/debian/debian/unspecified-something-pl.install
new file mode 100644
index 0000000..bfbc4a0
--- /dev/null
+++ b/t/tests/application-not-library/debian/debian/unspecified-something-pl.install
@@ -0,0 +1 @@
+bin/unspecified-something-pl usr/bin
diff --git a/t/tests/application-not-library/debian/debian/unspecified-something-py.install b/t/tests/application-not-library/debian/debian/unspecified-something-py.install
new file mode 100644
index 0000000..9615ca0
--- /dev/null
+++ b/t/tests/application-not-library/debian/debian/unspecified-something-py.install
@@ -0,0 +1 @@
+bin/unspecified-something-py usr/bin
diff --git a/t/tests/application-not-library/debian/debian/unspecified-something-rb.install b/t/tests/application-not-library/debian/debian/unspecified-something-rb.install
new file mode 100644
index 0000000..9502f60
--- /dev/null
+++ b/t/tests/application-not-library/debian/debian/unspecified-something-rb.install
@@ -0,0 +1 @@
+bin/unspecified-something-rb usr/bin
diff --git a/t/tests/application-not-library/desc b/t/tests/application-not-library/desc
new file mode 100644
index 0000000..265d09b
--- /dev/null
+++ b/t/tests/application-not-library/desc
@@ -0,0 +1,5 @@
+Testname: application-not-library
+Sequence: 6000
+Version: 1.0
+Description: Test cases where packages look like libraries but are applications
+Test-For: libapp-perl-package-name library-package-name-for-application application-in-library-section
diff --git a/t/tests/application-not-library/tags b/t/tests/application-not-library/tags
new file mode 100644
index 0000000..7749e21
--- /dev/null
+++ b/t/tests/application-not-library/tags
@@ -0,0 +1,19 @@
+E: libapp-something-perl: libapp-perl-package-name usr/bin/libapp-something-perl
+I: application-not-library source: duplicate-short-description libapp-something-perl libsomething-else-perl python-something ruby-something unspecified-something-pl unspecified-something-py unspecified-something-rb
+W: libapp-something-perl: binary-without-manpage usr/bin/libapp-something-perl
+W: libsomething-else-perl: binary-without-manpage usr/bin/libsomething-else-perl
+W: python-something: binary-without-manpage usr/bin/python-something
+W: ruby-something: binary-without-manpage usr/bin/ruby-something
+W: unspecified-something-pl: binary-without-manpage usr/bin/unspecified-something-pl
+W: unspecified-something-py: binary-without-manpage usr/bin/unspecified-something-py
+W: unspecified-something-rb: binary-without-manpage usr/bin/unspecified-something-rb
+X: libapp-something-perl: application-in-library-section perl usr/bin/libapp-something-perl
+X: libsomething-else-perl: application-in-library-section perl usr/bin/libsomething-else-perl
+X: libsomething-else-perl: library-package-name-for-application usr/bin/libsomething-else-perl
+X: python-something: application-in-library-section python usr/bin/python-something
+X: python-something: library-package-name-for-application usr/bin/python-something
+X: ruby-something: application-in-library-section ruby usr/bin/ruby-something
+X: ruby-something: library-package-name-for-application usr/bin/ruby-something
+X: unspecified-something-pl: application-in-library-section perl usr/bin/unspecified-something-pl
+X: unspecified-something-py: application-in-library-section python usr/bin/unspecified-something-py
+X: unspecified-something-rb: application-in-library-section ruby usr/bin/unspecified-something-rb

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: