From: Ian Jackson Date: Sun, 17 Jun 2018 16:18:44 +0000 (+0100) Subject: test suite: Get perl -I for source tree right X-Git-Tag: archive/debian/5.0~11 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=146d4d56e98cec6fc4b3f8f47df72c8b732aa6f3 test suite: Get perl -I for source tree right We wanted the Dgit.pm in the source tree (ie, the test suite's). Previously this would work by accident, because Dgit.pm would be installed in /usr. Signed-off-by: Ian Jackson --- diff --git a/tests/lib b/tests/lib index dc886432..bd06d20d 100644 --- a/tests/lib +++ b/tests/lib @@ -485,7 +485,7 @@ t-setup-done () { local vn for vn in $savevars; do - perl >&4 -I. -MDebian::Dgit -e ' + perl >&4 -"I$root" -MDebian::Dgit -e ' printf "%s=%s\n", $ARGV[0], shellquote $ARGV[1] ' $vn "$(eval "printf '%s\n' \"\$$vn\"")" done