summaryrefslogtreecommitdiff
path: root/tests/tests/dsd-clone-drs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests/dsd-clone-drs')
-rwxr-xr-xtests/tests/dsd-clone-drs11
1 files changed, 2 insertions, 9 deletions
diff --git a/tests/tests/dsd-clone-drs b/tests/tests/dsd-clone-drs
index aa162bb..16bfa2e 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