chiark / gitweb /
Test suite: Introduce tests/list-tests
[dgit.git] / tests / tests / dsd-clone-drs
index 347416027b8b36ccdf60ab375405272ad7450be5..16bfa2eaa87886326c23d7e9e9708a0fb1d41ec0 100755 (executable)
@@ -1,10 +1,9 @@
 #!/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