X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Fdsd-clone-drs;h=16bfa2eaa87886326c23d7e9e9708a0fb1d41ec0;hb=ada48ca013e77d7e821d326db40bc1a59ba639ea;hp=aa162bb09d33e9febcda1a5b0d8d0f0630d74d1a;hpb=417bcf4ea06b9e181c39734e121d9a32cf7cbb21;p=dgit.git diff --git a/tests/tests/dsd-clone-drs b/tests/tests/dsd-clone-drs index aa162bb0..16bfa2ea 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