chiark / gitweb /
dgit: --clean=dpkg-source: Check for untracked unignored files
[dgit.git] / tests / tests / protocol-compat
index fc3960a8f9db5b467770b7908eb79e3af77f8809..fcbeedb82d7cc02c4b786e32d4b407aa6b0c01a3 100755 (executable)
@@ -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 ----------