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/examples | |
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/examples')
15 files changed, 52 insertions, 0 deletions
diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/debian/control.in b/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/debian/control.in new file mode 100644 index 0000000..cf3511a --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/debian/control.in @@ -0,0 +1,18 @@ +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 %] +Depends: ${misc:Depends} +Description: Has a symlink to examples + 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. + . + This package has a symlink to examples. diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/debian/rules b/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/debian/rules new file mode 100644 index 0000000..f5ec31b --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +PKG = $(shell dh_listpackages) + +%: + dh $@ + +override_dh_link: + dh_link /etc /usr/share/doc/$(PKG)/examples diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/fill-values b/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/fill-values new file mode 100644 index 0000000..4d5c224 --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-package-does-not-install-examples-symlink +Description: Detect installed examples (symlink) diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/orig/examples/testsuite b/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/orig/examples/testsuite new file mode 100644 index 0000000..345e6ae --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/orig/examples/testsuite @@ -0,0 +1 @@ +Test diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/eval/desc b/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/eval/desc new file mode 100644 index 0000000..6ca663c --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/eval/desc @@ -0,0 +1,4 @@ +Testname: cruft-package-does-not-install-examples-symlink +Test-Against: + package-does-not-install-examples +Check: examples diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/eval/hints b/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/eval/hints new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/eval/hints diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/build-spec/debian/examples b/t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/build-spec/debian/examples new file mode 100644 index 0000000..e39721e --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/build-spec/debian/examples @@ -0,0 +1 @@ +examples/* diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/build-spec/fill-values b/t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/build-spec/fill-values new file mode 100644 index 0000000..35e3774 --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-package-does-not-install-examples-unrel +Description: Detect uninstalled examples (false positive) diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/build-spec/orig/examples/testsuite b/t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/build-spec/orig/examples/testsuite new file mode 100644 index 0000000..345e6ae --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/build-spec/orig/examples/testsuite @@ -0,0 +1 @@ +Test diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/eval/desc b/t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/eval/desc new file mode 100644 index 0000000..24b695f --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/eval/desc @@ -0,0 +1,4 @@ +Testname: cruft-package-does-not-install-examples-unrel +Test-Against: + package-does-not-install-examples +Check: examples diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/eval/hints b/t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/eval/hints new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples-unrel/eval/hints diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples/build-spec/fill-values b/t/recipes/checks/examples/cruft-package-does-not-install-examples/build-spec/fill-values new file mode 100644 index 0000000..0005654 --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: cruft-package-does-not-install-examples +Source: foo +Description: Detect uninstalled examples diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples/build-spec/orig/examples/testsuite b/t/recipes/checks/examples/cruft-package-does-not-install-examples/build-spec/orig/examples/testsuite new file mode 100644 index 0000000..345e6ae --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples/build-spec/orig/examples/testsuite @@ -0,0 +1 @@ +Test diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples/eval/desc b/t/recipes/checks/examples/cruft-package-does-not-install-examples/eval/desc new file mode 100644 index 0000000..f36b71f --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-package-does-not-install-examples +Check: examples diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples/eval/hints b/t/recipes/checks/examples/cruft-package-does-not-install-examples/eval/hints new file mode 100644 index 0000000..7b9a3b8 --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples/eval/hints @@ -0,0 +1 @@ +foo (source): package-does-not-install-examples [examples/] |