git-credential-netrc: use in-tree Git.pm for tests
commit04f673d7e47ba8aa413a47038abfc76b16d6c23b
authorLuis Marsano <luis.marsano@gmail.com>
Wed, 13 Jun 2018 03:10:38 +0000 (12 23:10 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Jun 2018 15:44:33 +0000 (18 08:44 -0700)
treec5c12d62e27a10da7b2befd4a6297e26e00e770f
parent94a2bb56b34eaed77a6d21962999716c2104be1a
git-credential-netrc: use in-tree Git.pm for tests

The netrc test.pl script calls git-credential-netrc which imports the
Git module.  Pass GITPERLLIB to git-credential-netrc via PERL5LIB to
ensure the in-tree Git module is used for testing.

Signed-off-by: Luis Marsano <luis.marsano@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/credential/netrc/t-git-credential-netrc.sh
contrib/credential/netrc/test.pl