chiark / gitweb /
test suite: gnupg setup: give each individual test its own AGENT.log
[dgit.git] / tests / lib-core
index cbfda462382fb303fb4f8ad7120c52d998df8b45..d65a1ffeccadcde3e9b9268f35be39620e4221fe 100644 (file)
@@ -24,10 +24,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:"