diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/files/debug-packages/non-debug-file-in-debug-package | |
parent | Initial commit. (diff) | |
download | lintian-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/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] |