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/triggers/triggers-general | |
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/triggers/triggers-general')
4 files changed, 23 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 diff --git a/t/recipes/checks/triggers/triggers-general/eval/desc b/t/recipes/checks/triggers/triggers-general/eval/desc new file mode 100644 index 0000000..75bd1cd --- /dev/null +++ b/t/recipes/checks/triggers/triggers-general/eval/desc @@ -0,0 +1,2 @@ +Testname: triggers-general +Check: triggers diff --git a/t/recipes/checks/triggers/triggers-general/eval/hints b/t/recipes/checks/triggers/triggers-general/eval/hints new file mode 100644 index 0000000..da95efd --- /dev/null +++ b/t/recipes/checks/triggers/triggers-general/eval/hints @@ -0,0 +1,3 @@ +triggers-general (binary): uses-implicit-await-trigger interest [triggers:8] +triggers-general (binary): unknown-trigger random-trigger [triggers:11] +triggers-general (binary): repeated-trigger-name /usr/share/lintian/foo2 (lines 14 15) [triggers] |