diff options
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] |