chiark / gitweb /
test suite: Make t-dgit print pwd to stderr, not stdout
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 3 Aug 2017 11:13:58 +0000 (12:13 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 3 Aug 2017 21:41:51 +0000 (22:41 +0100)
This means that tests can capture the output from t-dgit without going
wrong.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/lib

index 4f268fc6a389b2dc5515fd976dba7597e7d02804..0996d3e57b8636213fec97a4eea8b4aab8ddbef1 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -407,7 +407,7 @@ t-rm-dput-dropping () {
 
 t-dgit () {
        local dgit=${DGIT_TEST-dgit}
 
 t-dgit () {
        local dgit=${DGIT_TEST-dgit}
-       pwd
+       pwd >&2
        : '
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{'
        $dgit --dgit=$dgit --dget:-u --dput:--config=$tmp/dput.cf \
        : '
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{'
        $dgit --dgit=$dgit --dget:-u --dput:--config=$tmp/dput.cf \