summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/application-not-library
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/debian/control.in87
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libapp-something-perl.install1
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libapp-something-perl.manpages1
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libsomething-else-perl.install1
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libsomething-else-perl.manpages1
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/debian/python-something.install1
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/debian/python-something.manpages1
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/debian/ruby-something.install1
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/debian/ruby-something.manpages1
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-pl.install1
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-pl.manpages1
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-py.install1
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-py.manpages1
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-rb.install1
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-rb.manpages1
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/fill-values3
-rwxr-xr-xt/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/libapp-something-perl3
-rwxr-xr-xt/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/libsomething-else-perl3
-rwxr-xr-xt/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/python-something3
-rwxr-xr-xt/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/ruby-something3
-rwxr-xr-xt/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-pl3
-rwxr-xr-xt/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-py3
-rwxr-xr-xt/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-rb3
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/libapp-something-perl.16
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/libsomething-else-perl.16
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/python-something.16
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/ruby-something.16
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-pl.16
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-py.16
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-rb.16
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/eval/desc2
-rw-r--r--t/recipes/checks/application-not-library/application-not-library/eval/hints11
32 files changed, 180 insertions, 0 deletions
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/control.in b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/control.in
new file mode 100644
index 0000000..977a45c
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/control.in
@@ -0,0 +1,87 @@
+Source: [% $source %]
+Priority: optional
+Section: devel
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %], perl
+Rules-Requires-Root: no
+
+Package: libapp-something-perl
+Architecture: any
+Section: perl
+Depends: ${misc:Depends}, ${shlib:Depends}
+Description: [% $description %] libapp
+ 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: libapp-some-app-helper-module-perl
+Architecture: any
+Section: perl
+Depends: ${misc:Depends}, ${shlib:Depends}
+Description: libapp false positive test
+ This is an App:: test package designed to check if Lintian reports
+ false positives. 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 %] else
+ 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 %] py
+ 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 %] rb
+ 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 %] pl
+ 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 %] py2
+ 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 %] rb2
+ 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/recipes/checks/application-not-library/application-not-library/build-spec/debian/libapp-something-perl.install b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libapp-something-perl.install
new file mode 100644
index 0000000..388bdbd
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libapp-something-perl.install
@@ -0,0 +1 @@
+bin/libapp-something-perl usr/bin
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libapp-something-perl.manpages b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libapp-something-perl.manpages
new file mode 100644
index 0000000..58d812c
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libapp-something-perl.manpages
@@ -0,0 +1 @@
+man/libapp-something-perl.1
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libsomething-else-perl.install b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libsomething-else-perl.install
new file mode 100644
index 0000000..2a4ae74
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libsomething-else-perl.install
@@ -0,0 +1 @@
+bin/libsomething-else-perl usr/bin
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libsomething-else-perl.manpages b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libsomething-else-perl.manpages
new file mode 100644
index 0000000..881b7a5
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/libsomething-else-perl.manpages
@@ -0,0 +1 @@
+man/libsomething-else-perl.1
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/python-something.install b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/python-something.install
new file mode 100644
index 0000000..ef65bd8
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/python-something.install
@@ -0,0 +1 @@
+bin/python-something usr/bin
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/python-something.manpages b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/python-something.manpages
new file mode 100644
index 0000000..faae0d5
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/python-something.manpages
@@ -0,0 +1 @@
+man/python-something.1
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/ruby-something.install b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/ruby-something.install
new file mode 100644
index 0000000..b4178bb
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/ruby-something.install
@@ -0,0 +1 @@
+bin/ruby-something usr/bin
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/ruby-something.manpages b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/ruby-something.manpages
new file mode 100644
index 0000000..ada2f8d
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/ruby-something.manpages
@@ -0,0 +1 @@
+man/ruby-something.1
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-pl.install b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-pl.install
new file mode 100644
index 0000000..bfbc4a0
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-pl.install
@@ -0,0 +1 @@
+bin/unspecified-something-pl usr/bin
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-pl.manpages b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-pl.manpages
new file mode 100644
index 0000000..01bebce
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-pl.manpages
@@ -0,0 +1 @@
+man/unspecified-something-pl.1
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-py.install b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-py.install
new file mode 100644
index 0000000..9615ca0
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-py.install
@@ -0,0 +1 @@
+bin/unspecified-something-py usr/bin
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-py.manpages b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-py.manpages
new file mode 100644
index 0000000..d8e6db5
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-py.manpages
@@ -0,0 +1 @@
+man/unspecified-something-py.1
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-rb.install b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-rb.install
new file mode 100644
index 0000000..9502f60
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-rb.install
@@ -0,0 +1 @@
+bin/unspecified-something-rb usr/bin
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-rb.manpages b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-rb.manpages
new file mode 100644
index 0000000..3f89156
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/debian/unspecified-something-rb.manpages
@@ -0,0 +1 @@
+man/unspecified-something-rb.1
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/fill-values b/t/recipes/checks/application-not-library/application-not-library/build-spec/fill-values
new file mode 100644
index 0000000..cb8b119
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: application-not-library
+Description: Test cases where packages look like libraries but are applications
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/libapp-something-perl b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/libapp-something-perl
new file mode 100755
index 0000000..733bbce
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/libapp-something-perl
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo Foobar
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/libsomething-else-perl b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/libsomething-else-perl
new file mode 100755
index 0000000..733bbce
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/libsomething-else-perl
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo Foobar
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/python-something b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/python-something
new file mode 100755
index 0000000..733bbce
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/python-something
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo Foobar
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/ruby-something b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/ruby-something
new file mode 100755
index 0000000..733bbce
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/ruby-something
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo Foobar
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-pl b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-pl
new file mode 100755
index 0000000..733bbce
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-pl
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo Foobar
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-py b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-py
new file mode 100755
index 0000000..733bbce
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-py
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo Foobar
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-rb b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-rb
new file mode 100755
index 0000000..733bbce
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/bin/unspecified-something-rb
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo Foobar
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/libapp-something-perl.1 b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/libapp-something-perl.1
new file mode 100644
index 0000000..00d58c9
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/libapp-something-perl.1
@@ -0,0 +1,6 @@
+.TH YES "1" "April 2015" "Foobar" "User Commands"
+.SH NAME
+foobar \- fnords something until killes
+.SH SYNOPSIS
+.B foobar
+[\fISOMETHING\fR]...
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/libsomething-else-perl.1 b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/libsomething-else-perl.1
new file mode 100644
index 0000000..00d58c9
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/libsomething-else-perl.1
@@ -0,0 +1,6 @@
+.TH YES "1" "April 2015" "Foobar" "User Commands"
+.SH NAME
+foobar \- fnords something until killes
+.SH SYNOPSIS
+.B foobar
+[\fISOMETHING\fR]...
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/python-something.1 b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/python-something.1
new file mode 100644
index 0000000..00d58c9
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/python-something.1
@@ -0,0 +1,6 @@
+.TH YES "1" "April 2015" "Foobar" "User Commands"
+.SH NAME
+foobar \- fnords something until killes
+.SH SYNOPSIS
+.B foobar
+[\fISOMETHING\fR]...
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/ruby-something.1 b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/ruby-something.1
new file mode 100644
index 0000000..00d58c9
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/ruby-something.1
@@ -0,0 +1,6 @@
+.TH YES "1" "April 2015" "Foobar" "User Commands"
+.SH NAME
+foobar \- fnords something until killes
+.SH SYNOPSIS
+.B foobar
+[\fISOMETHING\fR]...
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-pl.1 b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-pl.1
new file mode 100644
index 0000000..00d58c9
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-pl.1
@@ -0,0 +1,6 @@
+.TH YES "1" "April 2015" "Foobar" "User Commands"
+.SH NAME
+foobar \- fnords something until killes
+.SH SYNOPSIS
+.B foobar
+[\fISOMETHING\fR]...
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-py.1 b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-py.1
new file mode 100644
index 0000000..00d58c9
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-py.1
@@ -0,0 +1,6 @@
+.TH YES "1" "April 2015" "Foobar" "User Commands"
+.SH NAME
+foobar \- fnords something until killes
+.SH SYNOPSIS
+.B foobar
+[\fISOMETHING\fR]...
diff --git a/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-rb.1 b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-rb.1
new file mode 100644
index 0000000..00d58c9
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/build-spec/orig/man/unspecified-something-rb.1
@@ -0,0 +1,6 @@
+.TH YES "1" "April 2015" "Foobar" "User Commands"
+.SH NAME
+foobar \- fnords something until killes
+.SH SYNOPSIS
+.B foobar
+[\fISOMETHING\fR]...
diff --git a/t/recipes/checks/application-not-library/application-not-library/eval/desc b/t/recipes/checks/application-not-library/application-not-library/eval/desc
new file mode 100644
index 0000000..58a9992
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/eval/desc
@@ -0,0 +1,2 @@
+Testname: application-not-library
+Check: application-not-library
diff --git a/t/recipes/checks/application-not-library/application-not-library/eval/hints b/t/recipes/checks/application-not-library/application-not-library/eval/hints
new file mode 100644
index 0000000..ebae992
--- /dev/null
+++ b/t/recipes/checks/application-not-library/application-not-library/eval/hints
@@ -0,0 +1,11 @@
+unspecified-something-rb (binary): application-in-library-section ruby [usr/bin/unspecified-something-rb]
+unspecified-something-py (binary): application-in-library-section python [usr/bin/unspecified-something-py]
+unspecified-something-pl (binary): application-in-library-section perl [usr/bin/unspecified-something-pl]
+ruby-something (binary): library-package-name-for-application [usr/bin/ruby-something]
+ruby-something (binary): application-in-library-section ruby [usr/bin/ruby-something]
+python-something (binary): library-package-name-for-application [usr/bin/python-something]
+python-something (binary): application-in-library-section python [usr/bin/python-something]
+libsomething-else-perl (binary): library-package-name-for-application [usr/bin/libsomething-else-perl]
+libsomething-else-perl (binary): application-in-library-section perl [usr/bin/libsomething-else-perl]
+libapp-something-perl (binary): libapp-perl-package-name [usr/bin/libapp-something-perl]
+libapp-something-perl (binary): application-in-library-section perl [usr/bin/libapp-something-perl]