From cd2f29b13d861e3a29d26339b14025d522f58966 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 23 Jun 2015 13:17:48 +0100 Subject: 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 `.'. --- tests/dsd-ssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/dsd-ssh') diff --git a/tests/dsd-ssh b/tests/dsd-ssh index 94a9582..d5df5aa 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 : '))))))))))))))))))))))))))))))))))))))))' -- cgit v1.2.3