summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/substvars/libc/control-file-hardcoded-libc
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/substvars/libc/control-file-hardcoded-libc')
-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
4 files changed, 30 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]