summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debhelper/debhelper-executable-files
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xt/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/docs2
-rwxr-xr-xt/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/manpages2
-rwxr-xr-xt/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/rules6
-rw-r--r--t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/fill-values3
-rw-r--r--t/recipes/checks/debhelper/debhelper-executable-files-compat-9/eval/desc4
-rw-r--r--t/recipes/checks/debhelper/debhelper-executable-files-compat-9/eval/hints4
-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
12 files changed, 45 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/docs b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/docs
new file mode 100755
index 0000000..438f2fd
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/docs
@@ -0,0 +1,2 @@
+#! /bin/sh
+# This is acceptable (though useless)
diff --git a/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/manpages b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/manpages
new file mode 100755
index 0000000..094e005
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/manpages
@@ -0,0 +1,2 @@
+# /o\ this is bad...
+
diff --git a/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/rules
new file mode 100755
index 0000000..44e34f9
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_installman:
diff --git a/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/fill-values
new file mode 100644
index 0000000..b8831df
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: debhelper-executable-files-compat-9
+Description: Tests related to executable packaging files
diff --git a/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/eval/desc b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/eval/desc
new file mode 100644
index 0000000..ef29e99
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/eval/desc
@@ -0,0 +1,4 @@
+Testname: debhelper-executable-files-compat-9
+Options: --suppress-tags
+ no-versioned-debhelper-prerequisite
+Check: debhelper
diff --git a/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/eval/hints b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/eval/hints
new file mode 100644
index 0000000..190fbce
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-executable-files-compat-9/eval/hints
@@ -0,0 +1,4 @@
+debhelper-executable-files-compat-9 (source): executable-debhelper-file-without-being-executable [debian/manpages]
+debhelper-executable-files-compat-9 (source): debian-build-system dh [debian/rules]
+debhelper-executable-files-compat-9 (source): debhelper-compat-virtual-relation 13 [debian/control]
+debhelper-executable-files-compat-9 (source): debhelper-compat-level 13
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