summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/substvars/misc
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/substvars/misc')
-rw-r--r--t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/build-spec/debian/control.in17
-rw-r--r--t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/build-spec/fill-values3
-rw-r--r--t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/eval/desc2
-rw-r--r--t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/eval/hints1
4 files changed, 23 insertions, 0 deletions
diff --git a/t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/build-spec/debian/control.in b/t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/build-spec/debian/control.in
new file mode 100644
index 0000000..dbcfee8
--- /dev/null
+++ b/t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/build-spec/debian/control.in
@@ -0,0 +1,17 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %]
+Rules-Requires-Root: no
+Homepage: [% $homepage %]
+
+Package: [% $source %]
+Architecture: [% $package_architecture %]
+Depends: ${misc:Depends}, ${misc:Pre-Depends}
+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. It may
+ be an empty package.
diff --git a/t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/build-spec/fill-values b/t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/build-spec/fill-values
new file mode 100644
index 0000000..2455541
--- /dev/null
+++ b/t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: depends-on-misc-pre-depends
+Description: Check for packages Depending on ${misc:Pre-Depends}
diff --git a/t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/eval/desc b/t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/eval/desc
new file mode 100644
index 0000000..abebba6
--- /dev/null
+++ b/t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/eval/desc
@@ -0,0 +1,2 @@
+Testname: depends-on-misc-pre-depends
+Check: substvars/misc/pre-depends
diff --git a/t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/eval/hints b/t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/eval/hints
new file mode 100644
index 0000000..383ccdb
--- /dev/null
+++ b/t/recipes/checks/substvars/misc/pre-depends/depends-on-misc-pre-depends/eval/hints
@@ -0,0 +1 @@
+depends-on-misc-pre-depends (source): depends-on-misc-pre-depends ${misc:Depends}, ${misc:Pre-Depends} (in section for depends-on-misc-pre-depends) [debian/control:12]