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/menus/menus-foo-calls-bar | |
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/menus/menus-foo-calls-bar')
7 files changed, 58 insertions, 0 deletions
diff --git a/t/recipes/checks/menus/menus-foo-calls-bar/build-spec/debian/postinst b/t/recipes/checks/menus/menus-foo-calls-bar/build-spec/debian/postinst new file mode 100644 index 0000000..ed633f7 --- /dev/null +++ b/t/recipes/checks/menus/menus-foo-calls-bar/build-spec/debian/postinst @@ -0,0 +1,7 @@ +#!/bin/sh +set -e + +install-docs +update-menus + +#DEBHELPER# diff --git a/t/recipes/checks/menus/menus-foo-calls-bar/build-spec/debian/postrm b/t/recipes/checks/menus/menus-foo-calls-bar/build-spec/debian/postrm new file mode 100644 index 0000000..d3027f5 --- /dev/null +++ b/t/recipes/checks/menus/menus-foo-calls-bar/build-spec/debian/postrm @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +if which install-docs >/dev/null 2>&1 ; then + install-docs +fi + +if which update-menus >/dev/null 2>&1 ; then + update-menus +fi + +#DEBHELPER# diff --git a/t/recipes/checks/menus/menus-foo-calls-bar/build-spec/debian/preinst b/t/recipes/checks/menus/menus-foo-calls-bar/build-spec/debian/preinst new file mode 100644 index 0000000..d3027f5 --- /dev/null +++ b/t/recipes/checks/menus/menus-foo-calls-bar/build-spec/debian/preinst @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +if which install-docs >/dev/null 2>&1 ; then + install-docs +fi + +if which update-menus >/dev/null 2>&1 ; then + update-menus +fi + +#DEBHELPER# diff --git a/t/recipes/checks/menus/menus-foo-calls-bar/build-spec/debian/prerm b/t/recipes/checks/menus/menus-foo-calls-bar/build-spec/debian/prerm new file mode 100644 index 0000000..d3027f5 --- /dev/null +++ b/t/recipes/checks/menus/menus-foo-calls-bar/build-spec/debian/prerm @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +if which install-docs >/dev/null 2>&1 ; then + install-docs +fi + +if which update-menus >/dev/null 2>&1 ; then + update-menus +fi + +#DEBHELPER# diff --git a/t/recipes/checks/menus/menus-foo-calls-bar/build-spec/fill-values b/t/recipes/checks/menus/menus-foo-calls-bar/build-spec/fill-values new file mode 100644 index 0000000..cbf8555 --- /dev/null +++ b/t/recipes/checks/menus/menus-foo-calls-bar/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: menus-foo-calls-bar +Description: check for installdocs and updatemenus calls diff --git a/t/recipes/checks/menus/menus-foo-calls-bar/eval/desc b/t/recipes/checks/menus/menus-foo-calls-bar/eval/desc new file mode 100644 index 0000000..5e67f88 --- /dev/null +++ b/t/recipes/checks/menus/menus-foo-calls-bar/eval/desc @@ -0,0 +1,2 @@ +Testname: menus-foo-calls-bar +Check: menus diff --git a/t/recipes/checks/menus/menus-foo-calls-bar/eval/hints b/t/recipes/checks/menus/menus-foo-calls-bar/eval/hints new file mode 100644 index 0000000..cd3eee4 --- /dev/null +++ b/t/recipes/checks/menus/menus-foo-calls-bar/eval/hints @@ -0,0 +1,10 @@ +menus-foo-calls-bar (binary): prerm-has-useless-call-to-install-docs [prerm:5] +menus-foo-calls-bar (binary): prerm-calls-updatemenus [prerm:9] +menus-foo-calls-bar (binary): preinst-calls-updatemenus [preinst:9] +menus-foo-calls-bar (binary): preinst-calls-installdocs [preinst:5] +menus-foo-calls-bar (binary): postrm-has-useless-call-to-update-menus [postrm:9] +menus-foo-calls-bar (binary): postrm-calls-installdocs [postrm:5] +menus-foo-calls-bar (binary): postinst-has-useless-call-to-update-menus [postinst:5] +menus-foo-calls-bar (binary): postinst-has-useless-call-to-install-docs [postinst:4] +menus-foo-calls-bar (binary): maintainer-script-does-not-check-for-existence-of-updatemenus [postinst:5] +menus-foo-calls-bar (binary): maintainer-script-does-not-check-for-existence-of-installdocs [postinst:4] |