summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debhelper/debhelper-executable-files
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/debhelper/debhelper-executable-files
parentInitial commit. (diff)
downloadlintian-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/debhelper/debhelper-executable-files')
-rw-r--r--t/recipes/checks/debhelper/debhelper-executable-files/build-spec/debian/compat.in1
-rwxr-xr-xt/recipes/checks/debhelper/debhelper-executable-files/build-spec/debian/manpages1
-rw-r--r--t/recipes/checks/debhelper/debhelper-executable-files/build-spec/fill-values5
-rwxr-xr-xt/recipes/checks/debhelper/debhelper-executable-files/build-spec/pre-build8
-rw-r--r--t/recipes/checks/debhelper/debhelper-executable-files/eval/desc2
-rw-r--r--t/recipes/checks/debhelper/debhelper-executable-files/eval/hints7
6 files changed, 24 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/debian/compat.in
new file mode 100644
index 0000000..640a566
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/debian/compat.in
@@ -0,0 +1 @@
+[% $dh_compat_level %]
diff --git a/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/debian/manpages b/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/debian/manpages
new file mode 100755
index 0000000..1a24852
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/debian/manpages
@@ -0,0 +1 @@
+#!/bin/sh
diff --git a/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/fill-values
new file mode 100644
index 0000000..8c619b1
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/fill-values
@@ -0,0 +1,5 @@
+Skeleton: upload-native
+Testname: debhelper-executable-files
+Dh-Compat-Level: 8
+Description: Tests related to executable packaging files
+Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~)
diff --git a/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/pre-build b/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/pre-build
new file mode 100755
index 0000000..0bb1b9a
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-executable-files/build-spec/pre-build
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+DIR="$1"
+
+for FILE in control copyright changelog ; do
+ chmod +x "$DIR/debian/$FILE"
+done
+
diff --git a/t/recipes/checks/debhelper/debhelper-executable-files/eval/desc b/t/recipes/checks/debhelper/debhelper-executable-files/eval/desc
new file mode 100644
index 0000000..ee5dcbc
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-executable-files/eval/desc
@@ -0,0 +1,2 @@
+Testname: debhelper-executable-files
+Check: debhelper
diff --git a/t/recipes/checks/debhelper/debhelper-executable-files/eval/hints b/t/recipes/checks/debhelper/debhelper-executable-files/eval/hints
new file mode 100644
index 0000000..0e2cfcc
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-executable-files/eval/hints
@@ -0,0 +1,7 @@
+debhelper-executable-files (source): package-uses-deprecated-debhelper-compat-version 8
+debhelper-executable-files (source): package-file-is-executable [debian/manpages]
+debhelper-executable-files (source): package-file-is-executable [debian/copyright]
+debhelper-executable-files (source): package-file-is-executable [debian/control]
+debhelper-executable-files (source): package-file-is-executable [debian/changelog]
+debhelper-executable-files (source): debian-build-system dh [debian/rules]
+debhelper-executable-files (source): debhelper-compat-level 8