diff options
Diffstat (limited to 't/recipes/checks/debian/lintian-overrides/duplicate')
5 files changed, 15 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/debian/source/lintian-overrides b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/debian/source/lintian-overrides new file mode 100644 index 0000000..c2811ff --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/debian/source/lintian-overrides @@ -0,0 +1,2 @@ +cute-field duplicate-context-cute-field_1.0.dsc arch* +cute-field duplicate-context-cute-field_1.0.dsc arch* diff --git a/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/fill-values b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/fill-values new file mode 100644 index 0000000..474697d --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: duplicate-context-cute-field +Skeleton: source-native +Description: Same context used in two overrides diff --git a/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/post-build b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/post-build new file mode 100755 index 0000000..689ad67 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/build-spec/post-build @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +product="$1" + +perl -pi -e 's/^(Architecture:)/\L$1\E/' "$product" diff --git a/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/eval/desc b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/eval/desc new file mode 100644 index 0000000..6e79c37 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/eval/desc @@ -0,0 +1,2 @@ +Testname: duplicate-context-cute-field +Check: debian/lintian-overrides/duplicate diff --git a/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/eval/hints b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/eval/hints new file mode 100644 index 0000000..ceb0be1 --- /dev/null +++ b/t/recipes/checks/debian/lintian-overrides/duplicate/duplicate-context-cute-field/eval/hints @@ -0,0 +1 @@ +duplicate-context-cute-field (source): duplicate-override-context cute-field (lines 1 2) [debian/source/lintian-overrides] |