chiark / gitweb /
When tests invoke dgit, use --dgit= so that subprocesses use our dgit rather than...
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 10 Aug 2014 19:44:17 +0000 (20:44 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 10 Aug 2014 19:44:17 +0000 (20:44 +0100)
debian/changelog
tests/lib

index 8b88fb3..3dd38e4 100644 (file)
@@ -41,6 +41,8 @@ dgit (0.22~experimental1) experimental; urgency=low
   * In rpush, on protocol error talking to build host, check if the
     subprocess died and report differently if so.  Closes:#736528.
   * Fixed a manpage typo.
   * In rpush, on protocol error talking to build host, check if the
     subprocess died and report differently if so.  Closes:#736528.
   * Fixed a manpage typo.
+  * When tests invoke dgit, use --dgit= so that subprocesses use our
+    dgit rather than system one.
 
   Major new feature, currently stalled awaiting server infrastructure:
   * dgit-repos-server: New program for receiving signed-tag-based
 
   Major new feature, currently stalled awaiting server infrastructure:
   * dgit-repos-server: New program for receiving signed-tag-based
index 5e64b99..e17be7f 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -105,10 +105,10 @@ t-archive () {
 }
 
 t-dgit () {
 }
 
 t-dgit () {
+       local dgit=${DGIT_TEST-dgit}
        : '
        : '
-
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{'
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{'
-       ${DGIT_TEST-dgit} --dget:-u --dput:--config=$tmp/dput.cf \
+       $dgit --dgit=$dgit --dget:-u --dput:--config=$tmp/dput.cf \
                -dtest-dummy $DGIT_TEST_OPTS ${DGIT_TEST_DEBUG--D} \
                -k39B13D8A "$@"
        : '}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
                -dtest-dummy $DGIT_TEST_OPTS ${DGIT_TEST_DEBUG--D} \
                -k39B13D8A "$@"
        : '}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}