chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test suite: debpolicy-quilt-gbp: New test
[dgit.git]
/
tests
/
dsd-ssh
diff --git
a/tests/dsd-ssh
b/tests/dsd-ssh
index 7a075f0b4f660bb4a6c4715e35b927d7fcbc178b..d5df5aa67279548c4fedf344e0f894dcf99521df 100755
(executable)
--- a/
tests/dsd-ssh
+++ b/
tests/dsd-ssh
@@
-8,6
+8,11
@@
tmp=$DGIT_TEST_TMP
cd /
userhost="$1"; shift
export SSH_ORIGINAL_COMMAND="$*"
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
: '))))))))))))))))))))))))))))))))))))))))'
${DGIT_SSH_DISPATCH_TEST-dgit-ssh-dispatch} -D $tmp
: '))))))))))))))))))))))))))))))))))))))))'