chiark / gitweb /
infra: mirroring and policy hooks: Provide ((( ))) banners
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 12 Jan 2017 00:00:40 +0000 (00:00 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 12 Jan 2017 00:31:20 +0000 (00:31 +0000)
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 <ijackson@chiark.greenend.org.uk>
debian/changelog
tests/lib
tests/lib-mirror

index 8edf5274279ffd8876561409e3b4143e89c789c5..05ab9d03e23958632a8bec73df47eff90cc87ded 100644 (file)
@@ -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
index 7023dbfab7ce5e45a9a2175a4de7d4e0c567612b..2607ca2face2f67b9c04c6b232ca1b6413be37ee 100644 (file)
--- 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 () {
index 8aa751afa6ff8d78a08fbde3f71b3bccc33375e6..25f0f90cf9513755e74bbcd5234168a17d0efe03 100644 (file)
@@ -22,7 +22,9 @@ t-mirror-set () {
 }
 
 t-mirror-hook () {
+       : '(((((((((((((((((((((((((((((((((((((((('
        "$mirror_hook" "$drs_dispatch" "$@"
+       : '))))))))))))))))))))))))))))))))))))))))'
 }
 
 t-check-mirrored () {