diff options
Diffstat (limited to 't/recipes/checks/files/debug-packages/non-debug-file-in-debug-package')
7 files changed, 44 insertions, 0 deletions
diff --git a/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/debian/control.in b/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/debian/control.in new file mode 100644 index 0000000..8f83518 --- /dev/null +++ b/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/debian/control.in @@ -0,0 +1,26 @@ +Source: [% $source %] +Section: [% $section %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +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. + +Package: [% $source %]-dbgsym +Section: debug +Architecture: all +Depends: [% $source %], ${shlibs:Depends}, ${misc:Depends} +Description: Fake dbgsym 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 + even be an empty package. diff --git a/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/debian/non-debug-file-in-debug-package-dbgsym.install b/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/debian/non-debug-file-in-debug-package-dbgsym.install new file mode 100644 index 0000000..9f11a1a --- /dev/null +++ b/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/debian/non-debug-file-in-debug-package-dbgsym.install @@ -0,0 +1 @@ +foo / diff --git a/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/debian/rules b/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/debian/rules new file mode 100755 index 0000000..e3b452e --- /dev/null +++ b/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_gencontrol: + # Pretend this is a real debug package. + dh_gencontrol -- -Dauto-built-package=debug-symbols diff --git a/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/fill-values b/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/fill-values new file mode 100644 index 0000000..e967840 --- /dev/null +++ b/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: non-debug-file-in-debug-package +Package-Architecture: any +Description: Test for -dbgsym packages with non-.debug files diff --git a/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/orig/foo b/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/orig/foo new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/build-spec/orig/foo diff --git a/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/eval/desc b/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/eval/desc new file mode 100644 index 0000000..61c2f05 --- /dev/null +++ b/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/eval/desc @@ -0,0 +1,2 @@ +Testname: non-debug-file-in-debug-package +Check: files/debug-packages diff --git a/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/eval/hints b/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/eval/hints new file mode 100644 index 0000000..a48226b --- /dev/null +++ b/t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package/eval/hints @@ -0,0 +1,3 @@ +non-debug-file-in-debug-package-dbgsym (binary): non-debug-file-in-debug-package [usr/share/doc/non-debug-file-in-debug-package-dbgsym/copyright] +non-debug-file-in-debug-package-dbgsym (binary): non-debug-file-in-debug-package [usr/share/doc/non-debug-file-in-debug-package-dbgsym/changelog.gz] +non-debug-file-in-debug-package-dbgsym (binary): non-debug-file-in-debug-package [foo] |