X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Fdsd-clone-drs;h=4346579a8dd4f76d48b3689ca87fa1144dc6e236;hb=8e4a69d54bb811aabe6eb2b133d142771c30f997;hp=aa162bb09d33e9febcda1a5b0d8d0f0630d74d1a;hpb=399c708ec36a98ac6126ad0ae07991c111b095cb;p=dgit.git diff --git a/tests/tests/dsd-clone-drs b/tests/tests/dsd-clone-drs index aa162bb0..4346579a 100755 --- a/tests/tests/dsd-clone-drs +++ b/tests/tests/dsd-clone-drs @@ -2,15 +2,8 @@ set -e . tests/lib -if [ "x$DGIT_TEST_INTREE" = x ]; then - echo >&2 'running installed package version, cannot test self-clone' - exit 0 -fi - -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 @@ -20,4 +13,4 @@ t-dgit clone-dgit-repos-server drs-cloned cd drs-cloned ls -al infra/dgit-repos-server -echo ok. +t-ok