From: Ian Jackson Date: Tue, 23 Jun 2015 12:23:28 +0000 (+0100) Subject: Test suite: Make dsd-clone-drs test a no-op in installed package mode X-Git-Tag: debian/0.30~58 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=399c708ec36a98ac6126ad0ae07991c111b095cb;hp=d7bff7fa819448fa1ce1bd5e2397f0ba1cf1688c Test suite: Make dsd-clone-drs test a no-op in installed package mode --- diff --git a/tests/tests/dsd-clone-drs b/tests/tests/dsd-clone-drs index 34741602..aa162bb0 100755 --- a/tests/tests/dsd-clone-drs +++ b/tests/tests/dsd-clone-drs @@ -1,6 +1,12 @@ #!/bin/bash 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