summaryrefslogtreecommitdiff
path: root/tests/lib-core
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-06 17:51:29 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-06 18:32:14 +0000
commit254a2c58e582e4536ef7a8feada775139e7ca9d5 (patch)
tree2888d896a4435dedcbc4b4cccfee4490702ef8b6 /tests/lib-core
parentb1492e1bf5ca414c4e540b969e3ad07a5ed13635 (diff)
test suite: lib-core: Provide DGIT_BADCOMMIT_FIXUP
So that tests can test this program. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/lib-core')
-rw-r--r--tests/lib-core4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib-core b/tests/lib-core
index 7ed2761..cbfda46 100644
--- a/tests/lib-core
+++ b/tests/lib-core
@@ -8,10 +8,12 @@ fail () {
t-set-intree () {
if [ "x$DGIT_TEST_INTREE" = x ]; then return; fi
: ${DGIT_TEST:=$DGIT_TEST_INTREE/dgit}
+ : ${DGIT_BADCOMMIT_FIXUP:=$DGIT_TEST_INTREE/dgit-badcommit-fixup}
: ${DGIT_REPOS_SERVER_TEST:=$DGIT_TEST_INTREE/infra/dgit-repos-server}
: ${DGIT_SSH_DISPATCH_TEST:=$DGIT_TEST_INTREE/infra/dgit-ssh-dispatch}
: ${DGIT_INFRA_PFX:=$DGIT_TEST_INTREE${DGIT_TEST_INTREE:+/infra/}}
- export DGIT_TEST DGIT_REPOS_SERVER_TEST DGIT_SSH_DISPATCH_TEST
+ export DGIT_TEST DGIT_BADCOMMIT_FIXUP
+ export DGIT_REPOS_SERVER_TEST DGIT_SSH_DISPATCH_TEST
export PERLLIB="$DGIT_TEST_INTREE${PERLLIB:+:}${PERLLIB}"
}