X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Fdsd-ssh;h=94a95827f2c0cfccbfd6a83708f17e56c885f1c6;hb=16570fa6d2c817138272294ac143db1252376ba8;hp=bc179f5f8ccd8bfce3bd4d37fad65521ac811485;hpb=d5013886bfac8d8997d1e4ec8fd32f1a0a6e62d1;p=dgit.git diff --git a/tests/dsd-ssh b/tests/dsd-ssh index bc179f5f..94a95827 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="$*" -${DGIT_SSH_DISPATCH_TEST-dgit-ssh-dispatch} -D $tmp/dispatch-dir + +# 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 : '))))))))))))))))))))))))))))))))))))))))'