From 86f59a365b6f30820c15d356a23d7c6ae5946351 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 7 Sep 2021 22:39:57 +0100 Subject: tests: Introduce t-debchange and set DEBEMAIL Signed-off-by: Ian Jackson --- tests/lib | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/lib b/tests/lib index 749509c..ee8d14f 100644 --- a/tests/lib +++ b/tests/lib @@ -1126,7 +1126,7 @@ t-merge-conflicted-stripping-conflict-markers () { t-commit () { local msg=$1 v=${2:-${majorv:-1}.$revision} - $troot/tstunt/debchange \ + t-debchange \ --force-distribution -v$v --distribution ${3:-unstable} "$1" git add debian/changelog debcommit @@ -1144,10 +1144,14 @@ t-dch-commit-r () { } t-dch-commit () { - $troot/tstunt/debchange "$@" + t-debchange "$@" git commit -m "dch $*" debian/changelog } +t-debchange () { + DEBEMAIL=dgit-tests@example.org $troot/tstunt/debchange "$@" +} + t-git-config () { git config --global "$@" } -- cgit v1.2.3