summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/conffiles/conffiles-etc-not-marked
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/conffiles/conffiles-etc-not-marked
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/conffiles/conffiles-etc-not-marked')
-rw-r--r--t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/debian/install1
-rw-r--r--t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/debian/rules11
-rw-r--r--t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/fill-values3
-rw-r--r--t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/orig/something.conf1
-rw-r--r--t/recipes/checks/conffiles/conffiles-etc-not-marked/eval/desc2
-rw-r--r--t/recipes/checks/conffiles/conffiles-etc-not-marked/eval/hints1
6 files changed, 19 insertions, 0 deletions
diff --git a/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/debian/install b/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/debian/install
new file mode 100644
index 0000000..ec665e8
--- /dev/null
+++ b/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/debian/install
@@ -0,0 +1 @@
+something.conf etc/
diff --git a/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/debian/rules b/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/debian/rules
new file mode 100644
index 0000000..5afe3f7
--- /dev/null
+++ b/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_builddeb:
+ DIR=$$(find -name 'DEBIAN'); \
+ rm "$$DIR/conffiles" && \
+ md5sum something.conf | sed 's/ s/ etc\/s/' >> "$$DIR/md5sums"
+ dh_builddeb
+
diff --git a/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/fill-values b/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/fill-values
new file mode 100644
index 0000000..63dd144
--- /dev/null
+++ b/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: conffiles-etc-not-marked
+Description: Test checking etc files not being marked as conffiles
diff --git a/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/orig/something.conf b/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/orig/something.conf
new file mode 100644
index 0000000..432ea47
--- /dev/null
+++ b/t/recipes/checks/conffiles/conffiles-etc-not-marked/build-spec/orig/something.conf
@@ -0,0 +1 @@
+hello=world
diff --git a/t/recipes/checks/conffiles/conffiles-etc-not-marked/eval/desc b/t/recipes/checks/conffiles/conffiles-etc-not-marked/eval/desc
new file mode 100644
index 0000000..4d117c3
--- /dev/null
+++ b/t/recipes/checks/conffiles/conffiles-etc-not-marked/eval/desc
@@ -0,0 +1,2 @@
+Testname: conffiles-etc-not-marked
+Check: conffiles
diff --git a/t/recipes/checks/conffiles/conffiles-etc-not-marked/eval/hints b/t/recipes/checks/conffiles/conffiles-etc-not-marked/eval/hints
new file mode 100644
index 0000000..6415828
--- /dev/null
+++ b/t/recipes/checks/conffiles/conffiles-etc-not-marked/eval/hints
@@ -0,0 +1 @@
+conffiles-etc-not-marked (binary): file-in-etc-not-marked-as-conffile [etc/something.conf]