summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/substvars
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/substvars
parentInitial commit. (diff)
downloadlintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz
lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/substvars')
-rw-r--r--t/recipes/checks/substvars/libc/control-file-hardcoded-libc/build-spec/debian/control.in19
-rw-r--r--t/recipes/checks/substvars/libc/control-file-hardcoded-libc/build-spec/fill-values3
-rw-r--r--t/recipes/checks/substvars/libc/control-file-hardcoded-libc/eval/desc4
-rw-r--r--t/recipes/checks/substvars/libc/control-file-hardcoded-libc/eval/hints4
-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
8 files changed, 53 insertions, 0 deletions
diff --git a/t/recipes/checks/substvars/libc/control-file-hardcoded-libc/build-spec/debian/control.in b/t/recipes/checks/substvars/libc/control-file-hardcoded-libc/build-spec/debian/control.in
new file mode 100644
index 0000000..eb888ce
--- /dev/null
+++ b/t/recipes/checks/substvars/libc/control-file-hardcoded-libc/build-spec/debian/control.in
@@ -0,0 +1,19 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %]
+Rules-Requires-Root: no
+
+Package: [% $source %]
+Architecture: [% $package_architecture %]
+Pre-Depends: libc0.1
+Depends: ${shlibs:Depends}, ${misc:Depends}, libc6
+Recommends: libc6.1
+Suggests: libc0.3
+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/libc/control-file-hardcoded-libc/build-spec/fill-values b/t/recipes/checks/substvars/libc/control-file-hardcoded-libc/build-spec/fill-values
new file mode 100644
index 0000000..998526e
--- /dev/null
+++ b/t/recipes/checks/substvars/libc/control-file-hardcoded-libc/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: control-file-hardcoded-libc
+Description: Test hard-coded dependencies on libc
diff --git a/t/recipes/checks/substvars/libc/control-file-hardcoded-libc/eval/desc b/t/recipes/checks/substvars/libc/control-file-hardcoded-libc/eval/desc
new file mode 100644
index 0000000..f599f0f
--- /dev/null
+++ b/t/recipes/checks/substvars/libc/control-file-hardcoded-libc/eval/desc
@@ -0,0 +1,4 @@
+Testname: control-file-hardcoded-libc
+Check: substvars/libc
+See-Also:
+ Debian Bug#512196
diff --git a/t/recipes/checks/substvars/libc/control-file-hardcoded-libc/eval/hints b/t/recipes/checks/substvars/libc/control-file-hardcoded-libc/eval/hints
new file mode 100644
index 0000000..538f810
--- /dev/null
+++ b/t/recipes/checks/substvars/libc/control-file-hardcoded-libc/eval/hints
@@ -0,0 +1,4 @@
+control-file-hardcoded-libc (source): package-depends-on-hardcoded-libc (in section for control-file-hardcoded-libc) Suggests libc0.3 [debian/control:14]
+control-file-hardcoded-libc (source): package-depends-on-hardcoded-libc (in section for control-file-hardcoded-libc) Recommends libc6.1 [debian/control:13]
+control-file-hardcoded-libc (source): package-depends-on-hardcoded-libc (in section for control-file-hardcoded-libc) Pre-Depends libc0.1 [debian/control:11]
+control-file-hardcoded-libc (source): package-depends-on-hardcoded-libc (in section for control-file-hardcoded-libc) Depends ${shlibs:Depends}, ${misc:Depends}, libc6 [debian/control:12]
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]