diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-06-20 17:31:09 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-06-20 17:31:09 +0100 |
commit | 16570fa6d2c817138272294ac143db1252376ba8 (patch) | |
tree | ece152a0b192aa21bf414dc91648f5c6127dc0ed /tests | |
parent | a8287b3568a7d563ea9bcfa611275bbee4bce21f (diff) |
Infra: dgit-ssh-dispatch sets PERLLIB
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/dsd-ssh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/dsd-ssh b/tests/dsd-ssh index 7a075f0..94a9582 100755 --- a/tests/dsd-ssh +++ b/tests/dsd-ssh @@ -8,6 +8,11 @@ tmp=$DGIT_TEST_TMP cd / userhost="$1"; shift 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_SSH_DISPATCH_TEST-dgit-ssh-dispatch} -D $tmp : '))))))))))))))))))))))))))))))))))))))))' |