X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Fprotocol-compat;h=fcbeedb82d7cc02c4b786e32d4b407aa6b0c01a3;hb=48cd6449acfebc08b1ba2c00871737759c285216;hp=fc3960a8f9db5b467770b7908eb79e3af77f8809;hpb=3ec15f5373c474cf3e0e55b876a565a09f81c793;p=dgit.git diff --git a/tests/tests/protocol-compat b/tests/tests/protocol-compat index fc3960a8..fcbeedb8 100755 --- a/tests/tests/protocol-compat +++ b/tests/tests/protocol-compat @@ -6,6 +6,9 @@ set -e t-setup-import examplegit t-tstunt-parsechangelog +t-git-config dgit.default.distro foreign +t-git-config dgit-distro.foreign.cmd-git false + prep () { dscf=$tmp/mirror/pool/main/example_$v.dsc } @@ -23,6 +26,7 @@ check () { $1 + local distro='' t-dgit import-dsc $dscf +imported t-ref-same refs/heads/imported cd .. @@ -64,8 +68,6 @@ prep perl -i -pe 's/^(Dgit: \w+).*/$1/' $dscf -t-git-config dgit.default.old-dsc-distro test-dummy - check : ---------- expect fail ----------