From: Ian Jackson Date: Tue, 23 Jun 2015 12:17:48 +0000 (+0100) Subject: Test suite: Make dsd-ssh work for installed-package tests X-Git-Tag: debian/0.30~64 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=cd2f29b13d861e3a29d26339b14025d522f58966;p=dgit.git Test suite: Make dsd-ssh work for installed-package tests Previously it would say `perl dgit-ssh-dispatch' which causes perl to look only in `.'. --- diff --git a/tests/dsd-ssh b/tests/dsd-ssh index 94a95827..d5df5aa6 100755 --- a/tests/dsd-ssh +++ b/tests/dsd-ssh @@ -12,7 +12,7 @@ export SSH_ORIGINAL_COMMAND="$*" # undoes PERLLIB so that we rely on dgit-ssh-dispatch setting it # we have to compensate with -I so that dgit-ssh-dispatch finds Dgit.pm unset PERLLIB -perl -I $DGIT_TEST_INTREE \ +${DGIT_TEST_INTREE+perl -I}$DGIT_TEST_INTREE \ ${DGIT_SSH_DISPATCH_TEST-dgit-ssh-dispatch} -D $tmp : '))))))))))))))))))))))))))))))))))))))))'