summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/cron/files-foo-violates-expected-naming
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/cron/files-foo-violates-expected-naming
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 't/recipes/checks/cron/files-foo-violates-expected-naming')
-rw-r--r--t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/debian/install2
-rw-r--r--t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/fill-values3
-rw-r--r--t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/orig/_bad-pkcs11.module0
-rwxr-xr-xt/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/orig/cron-script.hourly3
-rw-r--r--t/recipes/checks/cron/files-foo-violates-expected-naming/eval/desc2
-rw-r--r--t/recipes/checks/cron/files-foo-violates-expected-naming/eval/hints1
6 files changed, 11 insertions, 0 deletions
diff --git a/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/debian/install b/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/debian/install
new file mode 100644
index 0000000..02c3f92
--- /dev/null
+++ b/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/debian/install
@@ -0,0 +1,2 @@
+_bad-pkcs11.module usr/share/p11-kit/modules/
+cron-script.hourly etc/cron.hourly/
diff --git a/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/fill-values b/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/fill-values
new file mode 100644
index 0000000..abbdaca
--- /dev/null
+++ b/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: files-foo-violates-expected-naming
+Description: Test naming conventions not being followed
diff --git a/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/orig/_bad-pkcs11.module b/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/orig/_bad-pkcs11.module
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/orig/_bad-pkcs11.module
diff --git a/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/orig/cron-script.hourly b/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/orig/cron-script.hourly
new file mode 100755
index 0000000..ad6e129
--- /dev/null
+++ b/t/recipes/checks/cron/files-foo-violates-expected-naming/build-spec/orig/cron-script.hourly
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo "Hallo World"
diff --git a/t/recipes/checks/cron/files-foo-violates-expected-naming/eval/desc b/t/recipes/checks/cron/files-foo-violates-expected-naming/eval/desc
new file mode 100644
index 0000000..9b3431a
--- /dev/null
+++ b/t/recipes/checks/cron/files-foo-violates-expected-naming/eval/desc
@@ -0,0 +1,2 @@
+Testname: files-foo-violates-expected-naming
+Check: cron
diff --git a/t/recipes/checks/cron/files-foo-violates-expected-naming/eval/hints b/t/recipes/checks/cron/files-foo-violates-expected-naming/eval/hints
new file mode 100644
index 0000000..7d9bb33
--- /dev/null
+++ b/t/recipes/checks/cron/files-foo-violates-expected-naming/eval/hints
@@ -0,0 +1 @@
+files-foo-violates-expected-naming (binary): run-parts-cron-filename-contains-illegal-chars [etc/cron.hourly/cron-script.hourly]