chiark / gitweb /
test suite: lib-core: Provide DGIT_BADCOMMIT_FIXUP
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 6 Jan 2017 17:51:29 +0000 (17:51 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 6 Jan 2017 18:32:14 +0000 (18:32 +0000)
So that tests can test this program.

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

index 7ed2761..cbfda46 100644 (file)
@@ -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}"
 }