diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-06-23 13:17:48 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-06-23 14:14:10 +0100 |
commit | cd2f29b13d861e3a29d26339b14025d522f58966 (patch) | |
tree | b0ca19ebeaa93733736df89f1da8473845c2cbbf /tests | |
parent | 81e28f0e284a89d8ede573bad8cd494c911099d1 (diff) |
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 `.'.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/dsd-ssh | 2 |
1 files changed, 1 insertions, 1 deletions
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 : '))))))))))))))))))))))))))))))))))))))))' |