X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Flib;h=897fd6d6f86334b70de796d6ce075ffd72902115;hb=36393a3544aa58377762b4e8b4b319c301bed878;hp=d315c4e06bd75888478b0af2c38a03865180df60;hpb=a8287b3568a7d563ea9bcfa611275bbee4bce21f;p=dgit.git diff --git a/tests/lib b/tests/lib index d315c4e0..897fd6d6 100644 --- a/tests/lib +++ b/tests/lib @@ -34,6 +34,8 @@ mkdir -p $tmp/gnupg cp $troot/gnupg/* $tmp/gnupg chmod go-rw $tmp/gnupg/* +export DEBCHANGE_VENDOR=dpkg + mkdir -p $tmp/incoming cat <$tmp/dput.cf [test-dummy] @@ -480,7 +482,11 @@ t-drs () { drs_dispatch=$tmp/distro=test-dummy mkdir $drs_dispatch - ln -sf $root $drs_dispatch/dgit-live + + if [ "x$DGIT_TEST_INTREE" != x ]; then + ln -sf "$DGIT_TEST_INTREE" $drs_dispatch/dgit-live + fi + ln -sf $tmp/git $drs_dispatch/repos ln -sf $tmp/suites $tmp/dm.txt $drs_dispatch/ mkdir -p $drs_dispatch/keyrings