git-credential-netrc: adapt to test framework for git
authorLuis Marsano <luis.marsano@gmail.com>
Sat, 12 May 2018 09:17:27 +0000 (05:17 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 13 May 2018 23:53:08 +0000 (08:53 +0900)
git-credential-netrc tests did not run in a test repository.
Reuse the main test framework to stage a temporary repository.
To imitate Perl tests under t/
- switch to Test::More module
- use File::Basename & File::Spec::Functions

Signed-off-by: Luis Marsano <luis.marsano@gmail.com>
Acked-by: Ted Zlatanov <tzz@lifelogs.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found