diff options
Diffstat (limited to 't/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel')
5 files changed, 33 insertions, 0 deletions
diff --git a/t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/build-spec/debian/control.in b/t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/build-spec/debian/control.in new file mode 100644 index 0000000..2de8dd3 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, udev +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/scripts/scripts-udevadm-called-without-guard-unrel/build-spec/debian/postinst b/t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/build-spec/debian/postinst new file mode 100644 index 0000000..9f5660e --- /dev/null +++ b/t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/build-spec/debian/postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +udevadm positive + +exit 0 diff --git a/t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/build-spec/fill-values b/t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/build-spec/fill-values new file mode 100644 index 0000000..e13ae24 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: scripts-udevadm-called-without-guard-unrel +Description: Test for packages that call udevadm without a guard diff --git a/t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/eval/desc b/t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/eval/desc new file mode 100644 index 0000000..b8f5a2e --- /dev/null +++ b/t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/eval/desc @@ -0,0 +1,4 @@ +Testname: scripts-udevadm-called-without-guard-unrel +Test-Against: + udevadm-called-without-guard +Check: scripts diff --git a/t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/eval/hints b/t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/eval/hints new file mode 100644 index 0000000..259612a --- /dev/null +++ b/t/recipes/checks/scripts/scripts-udevadm-called-without-guard-unrel/eval/hints @@ -0,0 +1 @@ +scripts-udevadm-called-without-guard-unrel (binary): maintainer-script-interpreter /bin/sh [postinst] |