summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2014-08-03 18:03:47 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2014-08-03 18:03:47 +0100
commit6f3d4836d4e9aedbaf929a231db64e5536631c95 (patch)
tree0e74628de5e9c6812deef4eb097d6db70bc0eaa6
parent287a7f0fc2a71b5e4df36e9f1ecf9b05d0212a85 (diff)
Turn off debug for wrong tree test
-rw-r--r--tests/lib3
-rwxr-xr-xtests/tests/push-newpackage2
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/lib b/tests/lib
index f6f4e29..bba49a3 100644
--- a/tests/lib
+++ b/tests/lib
@@ -99,7 +99,8 @@ t-dgit () {
{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{'
${DGIT_TEST-dgit} --dget:-u --dput:--config=$tmp/dput.cf \
- -dtest-dummy $DGIT_TEST_OPTS -D -k39B13D8A "$@"
+ -dtest-dummy $DGIT_TEST_OPTS ${DGIT_TEST_DEBUG--D} \
+ -k39B13D8A "$@"
: '}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
'
}
diff --git a/tests/tests/push-newpackage b/tests/tests/push-newpackage
index 030507f..9954b3f 100755
--- a/tests/tests/push-newpackage
+++ b/tests/tests/push-newpackage
@@ -22,7 +22,7 @@ t-dgit build
git checkout bogus
set +e
-(set -e; t-dgit push --new)
+(set -e; DGIT_TEST_DEBUG=' ' t-dgit push --new)
rc=$?
set -e
if [ $rc = 0 ]; then fail "push succeeded when tree mismatch"; fi