summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/maintscript
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/debian/maintscript
parentInitial commit. (diff)
downloadlintian-upstream.tar.xz
lintian-upstream.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/build-spec/debian/maintscript4
-rw-r--r--t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/build-spec/fill-values4
-rw-r--r--t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/eval/desc2
-rw-r--r--t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/eval/hints3
4 files changed, 13 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/build-spec/debian/maintscript b/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/build-spec/debian/maintscript
new file mode 100644
index 0000000..6a583d7
--- /dev/null
+++ b/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/build-spec/debian/maintscript
@@ -0,0 +1,4 @@
+rm_conffile /etc/correct.conf 0.2~ foo
+rm_conffile /etc/incorrect.conf 0.2~ foo -- "$@"
+rm_conffile /etc/incorrect.conf 0.2~ foo -- "${@}"
+rm_conffile /etc/incorrect.conf 0.2~ foo -- "$@"
diff --git a/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/build-spec/fill-values b/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/build-spec/fill-values
new file mode 100644
index 0000000..c750dfe
--- /dev/null
+++ b/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: upload-native
+Testname: maintscript-includes-maint-script-parameters
+Dh-Compat-Level: 11
+Description: Check dh_installdeb .maintscript files
diff --git a/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/eval/desc b/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/eval/desc
new file mode 100644
index 0000000..453fab1
--- /dev/null
+++ b/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/eval/desc
@@ -0,0 +1,2 @@
+Testname: maintscript-includes-maint-script-parameters
+Check: debian/maintscript
diff --git a/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/eval/hints b/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/eval/hints
new file mode 100644
index 0000000..6fcf5bf
--- /dev/null
+++ b/t/recipes/checks/debian/maintscript/maintscript-includes-maint-script-parameters/eval/hints
@@ -0,0 +1,3 @@
+maintscript-includes-maint-script-parameters (source): maintscript-includes-maint-script-parameters [debian/maintscript:4]
+maintscript-includes-maint-script-parameters (source): maintscript-includes-maint-script-parameters [debian/maintscript:3]
+maintscript-includes-maint-script-parameters (source): maintscript-includes-maint-script-parameters [debian/maintscript:2]