X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Fdsd-clone-drs;h=6065c5f4369866944ed4a78d1319d6cc5f4cbf98;hb=aebf260fa5e34808157bf42f1dd70d3ce85c11aa;hp=347416027b8b36ccdf60ab375405272ad7450be5;hpb=f7d222ee9782806cd05d7a82595c142096c3bd04;p=dgit.git diff --git a/tests/tests/dsd-clone-drs b/tests/tests/dsd-clone-drs index 34741602..6065c5f4 100755 --- a/tests/tests/dsd-clone-drs +++ b/tests/tests/dsd-clone-drs @@ -1,12 +1,12 @@ #!/bin/bash set -e . tests/lib -if ! test -d $root/.git; then - echo >&2 'not running out of git clone, cannot test self-clone' - exit 0 -fi + +t-restrict x-dgit-intree-only +t-restrict x-dgit-git-only t-dsd +eval "$DGIT_TEST_DSD_CLONE_DRS_HOOK" cd $tmp t-dgit clone-dgit-repos-server drs-cloned @@ -14,4 +14,4 @@ t-dgit clone-dgit-repos-server drs-cloned cd drs-cloned ls -al infra/dgit-repos-server -echo ok. +t-ok