summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/systemd/tmpfiles
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/systemd/tmpfiles
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/systemd/tmpfiles')
-rw-r--r--t/recipes/checks/systemd/tmpfiles/declared-in-etc/build-spec/debian/install1
-rw-r--r--t/recipes/checks/systemd/tmpfiles/declared-in-etc/build-spec/debian/test.conf2
-rw-r--r--t/recipes/checks/systemd/tmpfiles/declared-in-etc/build-spec/fill-values3
-rw-r--r--t/recipes/checks/systemd/tmpfiles/declared-in-etc/eval/desc2
-rw-r--r--t/recipes/checks/systemd/tmpfiles/declared-in-etc/eval/hints1
-rw-r--r--t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/build-spec/debian/install1
-rw-r--r--t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/build-spec/debian/test.conf2
-rw-r--r--t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/build-spec/fill-values5
-rw-r--r--t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/eval/desc2
-rw-r--r--t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/eval/hints1
10 files changed, 20 insertions, 0 deletions
diff --git a/t/recipes/checks/systemd/tmpfiles/declared-in-etc/build-spec/debian/install b/t/recipes/checks/systemd/tmpfiles/declared-in-etc/build-spec/debian/install
new file mode 100644
index 0000000..dacd7da
--- /dev/null
+++ b/t/recipes/checks/systemd/tmpfiles/declared-in-etc/build-spec/debian/install
@@ -0,0 +1 @@
+debian/test.conf etc/tmpfiles.d/
diff --git a/t/recipes/checks/systemd/tmpfiles/declared-in-etc/build-spec/debian/test.conf b/t/recipes/checks/systemd/tmpfiles/declared-in-etc/build-spec/debian/test.conf
new file mode 100644
index 0000000..81f27df
--- /dev/null
+++ b/t/recipes/checks/systemd/tmpfiles/declared-in-etc/build-spec/debian/test.conf
@@ -0,0 +1,2 @@
+# See tmpfiles.d(5) for details
+d /run/bacula 2775 bacula bacula -
diff --git a/t/recipes/checks/systemd/tmpfiles/declared-in-etc/build-spec/fill-values b/t/recipes/checks/systemd/tmpfiles/declared-in-etc/build-spec/fill-values
new file mode 100644
index 0000000..c35d14d
--- /dev/null
+++ b/t/recipes/checks/systemd/tmpfiles/declared-in-etc/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: declared-in-etc
+Description: Systemd tmpfiles declared in /etc
diff --git a/t/recipes/checks/systemd/tmpfiles/declared-in-etc/eval/desc b/t/recipes/checks/systemd/tmpfiles/declared-in-etc/eval/desc
new file mode 100644
index 0000000..a64e115
--- /dev/null
+++ b/t/recipes/checks/systemd/tmpfiles/declared-in-etc/eval/desc
@@ -0,0 +1,2 @@
+Testname: declared-in-etc
+Check: systemd/tmpfiles
diff --git a/t/recipes/checks/systemd/tmpfiles/declared-in-etc/eval/hints b/t/recipes/checks/systemd/tmpfiles/declared-in-etc/eval/hints
new file mode 100644
index 0000000..8f55abd
--- /dev/null
+++ b/t/recipes/checks/systemd/tmpfiles/declared-in-etc/eval/hints
@@ -0,0 +1 @@
+declared-in-etc (binary): misplaced-systemd-tmpfiles [etc/tmpfiles.d/test.conf]
diff --git a/t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/build-spec/debian/install b/t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/build-spec/debian/install
new file mode 100644
index 0000000..6d21d99
--- /dev/null
+++ b/t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/build-spec/debian/install
@@ -0,0 +1 @@
+debian/test.conf usr/lib/tmpfiles.d/
diff --git a/t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/build-spec/debian/test.conf b/t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/build-spec/debian/test.conf
new file mode 100644
index 0000000..b0c4604
--- /dev/null
+++ b/t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/build-spec/debian/test.conf
@@ -0,0 +1,2 @@
+# See tmpfiles.d(5) for details
+d /var/run/bacula 2775 bacula bacula -
diff --git a/t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/build-spec/fill-values b/t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/build-spec/fill-values
new file mode 100644
index 0000000..6d66752
--- /dev/null
+++ b/t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/build-spec/fill-values
@@ -0,0 +1,5 @@
+Skeleton: upload-native
+Testname: tmpfile-in-var-run
+Description: Systemd places a teporary file in /var/run
+See-Also:
+ Bug#984678
diff --git a/t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/eval/desc b/t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/eval/desc
new file mode 100644
index 0000000..9126436
--- /dev/null
+++ b/t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/eval/desc
@@ -0,0 +1,2 @@
+Testname: tmpfile-in-var-run
+Check: systemd/tmpfiles
diff --git a/t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/eval/hints b/t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/eval/hints
new file mode 100644
index 0000000..c5889a2
--- /dev/null
+++ b/t/recipes/checks/systemd/tmpfiles/tmpfile-in-var-run/eval/hints
@@ -0,0 +1 @@
+tmpfile-in-var-run (binary): systemd-tmpfile-in-var-run [usr/lib/tmpfiles.d/test.conf]