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/conffiles/conffiles-etc-not-marked | |
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/conffiles/conffiles-etc-not-marked')
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] |