summaryrefslogtreecommitdiff
path: root/tests/tests/dsd-clone-drs
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-07-25 17:36:18 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-07-25 18:32:29 +0100
commitada48ca013e77d7e821d326db40bc1a59ba639ea (patch)
tree795d0bcac6795fcf7168e1e60a88186ddba383f4 /tests/tests/dsd-clone-drs
parent417bcf4ea06b9e181c39734e121d9a32cf7cbb21 (diff)
Test suite: Introduce tests/list-tests
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