From: Ian Jackson Date: Thu, 12 Jan 2017 00:00:40 +0000 (+0000) Subject: infra: mirroring and policy hooks: Provide ((( ))) banners X-Git-Tag: archive/debian/3.2~12 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=8463d12b7a99e449198b06341a96fb3504074040;hp=fcb31fe3655f197956bb61f89c54638db4c14265 infra: mirroring and policy hooks: Provide ((( ))) banners When we invoke these, this makes their output easier to find in the middle of the test suite debug scrool. Signed-off-by: Ian Jackson --- diff --git a/debian/changelog b/debian/changelog index 8edf5274..05ab9d03 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,9 @@ dgit (3.2~) unstable; urgency=medium bug seem to be limited to duplicated error messages but I have not done a thorough analysis. Closes:#850052. + Test suite: + * infra: mirroring and policy hooks: Improve some debugging output. + -- dgit (3.1) unstable; urgency=medium diff --git a/tests/lib b/tests/lib index 7023dbfa..2607ca2f 100644 --- a/tests/lib +++ b/tests/lib @@ -1024,7 +1024,9 @@ t-dsd () { } t-policy-admin () { + : '((((((((((((((((((((((((((((((((((((((((' ${DGIT_INFRA_PFX}dgit-repos-admin-debian --repos $tmp/git "$@" + : '))))))))))))))))))))))))))))))))))))))))' } t-policy-nonexist () { @@ -1056,8 +1058,10 @@ t-debpolicy () { } t-policy-periodic () { + : '((((((((((((((((((((((((((((((((((((((((' ${DGIT_REPOS_SERVER_TEST-dgit-repos-server} \ test-dummy $drs_dispatch '' --cron + : '))))))))))))))))))))))))))))))))))))))))' } t-restrict () { diff --git a/tests/lib-mirror b/tests/lib-mirror index 8aa751af..25f0f90c 100644 --- a/tests/lib-mirror +++ b/tests/lib-mirror @@ -22,7 +22,9 @@ t-mirror-set () { } t-mirror-hook () { + : '((((((((((((((((((((((((((((((((((((((((' "$mirror_hook" "$drs_dispatch" "$@" + : '))))))))))))))))))))))))))))))))))))))))' } t-check-mirrored () {