summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/testsuite/testsuite-unknown-suite
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/testsuite/testsuite-unknown-suite')
-rw-r--r--t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/debian/control.in17
-rw-r--r--t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/debian/tests/control1
-rw-r--r--t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/debian/tests/test-12
-rw-r--r--t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/fill-values3
-rw-r--r--t/recipes/checks/testsuite/testsuite-unknown-suite/eval/desc2
-rw-r--r--t/recipes/checks/testsuite/testsuite-unknown-suite/eval/hints2
6 files changed, 27 insertions, 0 deletions
diff --git a/t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/debian/control.in b/t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/debian/control.in
new file mode 100644
index 0000000..d1552e1
--- /dev/null
+++ b/t/recipes/checks/testsuite/testsuite-unknown-suite/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
+Testsuite: autopkgtest, golf
+
+Package: [% $source %]
+Architecture: [% $package_architecture %]
+Depends: ${shlibs:Depends}, ${misc: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/testsuite/testsuite-unknown-suite/build-spec/debian/tests/control b/t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/debian/tests/control
new file mode 100644
index 0000000..19e2aee
--- /dev/null
+++ b/t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/debian/tests/control
@@ -0,0 +1 @@
+Tests: test-1
diff --git a/t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/debian/tests/test-1 b/t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/debian/tests/test-1
new file mode 100644
index 0000000..039e4d0
--- /dev/null
+++ b/t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/debian/tests/test-1
@@ -0,0 +1,2 @@
+#!/bin/sh
+exit 0
diff --git a/t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/fill-values b/t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/fill-values
new file mode 100644
index 0000000..11a2f63
--- /dev/null
+++ b/t/recipes/checks/testsuite/testsuite-unknown-suite/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: testsuite-unknown-suite
+Description: Tests for unknown suite in the control being non-file
diff --git a/t/recipes/checks/testsuite/testsuite-unknown-suite/eval/desc b/t/recipes/checks/testsuite/testsuite-unknown-suite/eval/desc
new file mode 100644
index 0000000..d818b13
--- /dev/null
+++ b/t/recipes/checks/testsuite/testsuite-unknown-suite/eval/desc
@@ -0,0 +1,2 @@
+Testname: testsuite-unknown-suite
+Check: testsuite
diff --git a/t/recipes/checks/testsuite/testsuite-unknown-suite/eval/hints b/t/recipes/checks/testsuite/testsuite-unknown-suite/eval/hints
new file mode 100644
index 0000000..0689d59
--- /dev/null
+++ b/t/recipes/checks/testsuite/testsuite-unknown-suite/eval/hints
@@ -0,0 +1,2 @@
+testsuite-unknown-suite (source): unnecessary-testsuite-autopkgtest-field [debian/control:8]
+testsuite-unknown-suite (source): unknown-testsuite golf [debian/control:8]