diff options
Diffstat (limited to 't/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/build-spec')
2 files changed, 10 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/build-spec/fill-values b/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/build-spec/fill-values new file mode 100644 index 0000000..c21a8af --- /dev/null +++ b/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: mismatch-between-changes-and-source +Description: Maintainer in changes files is different from source diff --git a/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/build-spec/post-build.in b/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/build-spec/post-build.in new file mode 100755 index 0000000..123b424 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/build-spec/post-build.in @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +product="[% $build_product %]" + +sed -i 's/^Maintainer:.*$/Maintainer: Unknown <never@heard.of>/' "$product" |