chiark / gitweb /
test suite: gbp2gdr: drop junk at the end
[dgit.git] / tests / lib-core
index cbfda462382fb303fb4f8ad7120c52d998df8b45..c3a04cbaed1b215cfd62c33b7455976f7a2c4a73 100644 (file)
@@ -12,6 +12,7 @@ t-set-intree () {
        : ${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/}}
+       : ${DGIT_GITDEBREBASE_TEST:=$DGIT_TEST_INTREE/git-debrebase}
        export DGIT_TEST DGIT_BADCOMMIT_FIXUP
        export DGIT_REPOS_SERVER_TEST DGIT_SSH_DISPATCH_TEST
        export PERLLIB="$DGIT_TEST_INTREE${PERLLIB:+:}${PERLLIB}"
@@ -24,10 +25,11 @@ t-set-using-tmp () {
        export GNUPGHOME=$tmp/nonexistent
        git config --global user.email 'dgit-test@debian.example.net'
        git config --global user.name 'dgit test git user'
+       git config --global protocol.ext.allow always
 }
 
 t-filter-out-git-hyphen-dir () {
-       local pathent=$(type -p git-rev-parse ||:)
+       local pathent; pathent=$(type -p git-rev-parse ||:)
        case "$pathent" in '') return ;; esac
        pathent=${pathent%/*}
        local path=":$PATH:"