summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debian/control/prerequisite/circular/fields-depends-general')
-rw-r--r--t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/debian/control.in81
-rw-r--r--t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/debian/install1
-rw-r--r--t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/fill-values3
-rw-r--r--t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/orig/some-file2
-rw-r--r--t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/eval/desc2
-rw-r--r--t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/eval/hints1
6 files changed, 90 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/debian/control.in b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/debian/control.in
new file mode 100644
index 0000000..054ffc3
--- /dev/null
+++ b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/debian/control.in
@@ -0,0 +1,81 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %], libtest-simple-perl (>= 0.98), perl-modules
+Rules-Requires-Root: no
+
+Package: [% $source %]
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, xorg, bash,
+ conflict-dep, gawk | awk, new-package | xbase-clients (>= 0.1), [% $source %],
+ gaim (>= 0.1), emacs21, emacs22, emacs23, makedev, libtest-simple-perl (>= 0.98),
+ packaging-dev, xfont-a, emacs22-gtk, emacs23-el, emacs23-nox, emacs23-lucid,
+ emacs222, perl-modules, debhelper
+Breaks: package-without-version, [% $source %] (<< 0.1),
+ replaced-wo-version
+Replaces: replaced-wo-version
+Conflicts: package-with-version (<< 3.0), conflict-dep
+Description: [% $description %]
+ This is a 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.
+
+Package: lib[% $source %]
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, libdb1-compat, perl-modules-5.22
+Recommends: debconf-doc, cdbs
+Conflicts: debhelper
+Section: libs
+Description: [% $description %] -- fake library
+ This is a fake library 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.
+
+Package: py-[% $source %]
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, python-minimal
+Description: [% $description %] - Fake Python package
+ This is a 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.
+ .
+ The fake Python package.
+
+Package: [% $source %]-doc
+Section: doc
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, [% $source %]
+Description: [% $description %] - Fake Doc package
+ This is a 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.
+ .
+ The fake doc package.
+
+Package: dh-[% $source %]
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, debhelper
+Description: [% $description %] - Fake Debhelper package
+ This is a 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.
+ .
+ The fake Debhelper package to test false-positives in
+ binary-package-depends-on-toolchain-package.
+
+Package: [% $source %]-source
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, debhelper
+Description: [% $description %] - Fake DKMS-like package
+ This is a 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.
+ .
+ The fake DKMS-like package to test false-positives in
+ binary-package-depends-on-toolchain-package.
diff --git a/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/debian/install b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/debian/install
new file mode 100644
index 0000000..6c37889
--- /dev/null
+++ b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/debian/install
@@ -0,0 +1 @@
+some-file usr/share/lintian
diff --git a/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/fill-values b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/fill-values
new file mode 100644
index 0000000..6e84753
--- /dev/null
+++ b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: fields-depends-general
+Description: General tests for binary package dependencies
diff --git a/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/orig/some-file b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/orig/some-file
new file mode 100644
index 0000000..7bf08f7
--- /dev/null
+++ b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/build-spec/orig/some-file
@@ -0,0 +1,2 @@
+This file is installed into /usr/share/lintian just to ensure that this
+package doesn't look like a metapackage for the dependency checks.
diff --git a/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/eval/desc b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/eval/desc
new file mode 100644
index 0000000..e47d658
--- /dev/null
+++ b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/eval/desc
@@ -0,0 +1,2 @@
+Testname: fields-depends-general
+Check: debian/control/prerequisite/circular
diff --git a/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/eval/hints b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/eval/hints
new file mode 100644
index 0000000..44047f1
--- /dev/null
+++ b/t/recipes/checks/debian/control/prerequisite/circular/fields-depends-general/eval/hints
@@ -0,0 +1 @@
+fields-depends-general (source): circular-installation-prerequisite (in section for fields-depends-general) Depends ${shlibs:Depends}, ${misc:Depends}, xorg, bash, conflict-dep, gawk | awk, new-package | xbase-clients (>= 0.1), fields-depends-general, gaim (>= 0.1), emacs21, emacs22, emacs23, makedev, libtest-simple-perl (>= 0.98), packaging-dev, xfont-a, emacs22-gtk, emacs23-el, emacs23-nox, emacs23-lucid, emacs222, perl-modules, debhelper [debian/control:11]