X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Flib;h=e710f39dc660f8d1d065a3c46c08d5fb93449f19;hp=70ad0b186d31ecc244717b355bd99ee02e160329;hb=76cbbc78a07e44b4c917bbaa93bf7cd602387082;hpb=600129df470efe1399947a2022ce5bbdc009b7bb diff --git a/tests/lib b/tests/lib index 70ad0b18..e710f39d 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] @@ -155,7 +157,7 @@ t-prep-newpackage () { t-git-none t-worktree $v cd $p - if ! git-show-ref --verify --quiet refs/heads/master; then + if ! git show-ref --verify --quiet refs/heads/master; then git branch -m dgit/sid master git remote rm dgit fi @@ -481,16 +483,10 @@ t-drs () { drs_dispatch=$tmp/distro=test-dummy mkdir $drs_dispatch - if [ "x$DGIT_TEST_INTREE" = x ]; then - cat >&2 <