summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/triggers/triggers-general/build-spec
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/triggers/triggers-general/build-spec
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/triggers/triggers-general/build-spec')
-rw-r--r--t/recipes/checks/triggers/triggers-general/build-spec/debian/triggers15
-rw-r--r--t/recipes/checks/triggers/triggers-general/build-spec/fill-values3
2 files changed, 18 insertions, 0 deletions
diff --git a/t/recipes/checks/triggers/triggers-general/build-spec/debian/triggers b/t/recipes/checks/triggers/triggers-general/build-spec/debian/triggers
new file mode 100644
index 0000000..49656bf
--- /dev/null
+++ b/t/recipes/checks/triggers/triggers-general/build-spec/debian/triggers
@@ -0,0 +1,15 @@
+# -noawait: not an issue
+interest-noawait /usr/share/lintian/foo
+# explicit -await: Presumed informed decision (no tag)
+interest-await /usr/share/lintian/bar
+
+
+# implicit -await: Should trigger a tag
+interest /usr/share/lintian/baz
+
+# Not known by lintian
+random-trigger /bar
+
+# Repated trigger
+interest-await /usr/share/lintian/foo2
+interest-noawait /usr/share/lintian/foo2
diff --git a/t/recipes/checks/triggers/triggers-general/build-spec/fill-values b/t/recipes/checks/triggers/triggers-general/build-spec/fill-values
new file mode 100644
index 0000000..de80528
--- /dev/null
+++ b/t/recipes/checks/triggers/triggers-general/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: triggers-general
+Description: Test of the triggers check