diff options
Diffstat (limited to 't/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script')
8 files changed, 29 insertions, 0 deletions
diff --git a/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/bar.service b/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/bar.service new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/bar.service diff --git a/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/control.in b/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/control.in new file mode 100644 index 0000000..ec0215d --- /dev/null +++ b/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: mail +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: Package with daemon, but no init.d script + 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/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/install b/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/install new file mode 100644 index 0000000..db29ac8 --- /dev/null +++ b/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/install @@ -0,0 +1,3 @@ +# Actual content does not matter, Lintain checks only for file names. +debian/bar.service /lib/systemd/system/ +debian/run /etc/sv/foo/ diff --git a/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/rules b/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/run b/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/run new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/debian/run diff --git a/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/fill-values b/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/fill-values new file mode 100644 index 0000000..3a32284 --- /dev/null +++ b/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: directory-in-etc-sv-directory-without-executable-run-script +Description: Check for directories in /etc/sv missing run script diff --git a/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/eval/desc b/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/eval/desc new file mode 100644 index 0000000..c344c6d --- /dev/null +++ b/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/eval/desc @@ -0,0 +1,2 @@ +Testname: directory-in-etc-sv-directory-without-executable-run-script +Check: init-d diff --git a/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/eval/hints b/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/eval/hints new file mode 100644 index 0000000..37e6f0f --- /dev/null +++ b/t/recipes/checks/init-d/directory-in-etc-sv-directory-without-executable-run-script/eval/hints @@ -0,0 +1 @@ +directory-in-etc-sv-directory-without-executable-run-script (binary): directory-in-etc-sv-directory-without-executable-run-script etc/sv/foo/run [etc/sv/foo/] |