X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Fdsd-ssh;h=d5df5aa67279548c4fedf344e0f894dcf99521df;hp=7a075f0b4f660bb4a6c4715e35b927d7fcbc178b;hb=b769d51ab9e8b6102ec82197c6cd4005b87a9ada;hpb=145b3af675c0738fc9c70bea4a7e7330da16292d diff --git a/tests/dsd-ssh b/tests/dsd-ssh index 7a075f0b..d5df5aa6 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 +${DGIT_TEST_INTREE+perl -I}$DGIT_TEST_INTREE \ ${DGIT_SSH_DISPATCH_TEST-dgit-ssh-dispatch} -D $tmp : '))))))))))))))))))))))))))))))))))))))))'