git-credential-netrc: minor whitespace cleanup in test script
[git/git.git] / contrib / credential / netrc / t-git-credential-netrc.sh
CommitLineData
f07eeed1
LM
1#!/bin/sh
2(
3 cd ../../../t
4 test_description='git-credential-netrc'
5 . ./test-lib.sh
6
7 if ! test_have_prereq PERL; then
8 skip_all='skipping perl interface tests, perl not available'
9 test_done
10 fi
11
12 perl -MTest::More -e 0 2>/dev/null || {
13 skip_all="Perl Test::More unavailable, skipping test"
14 test_done
15 }
16
17 # set up test repository
18
19 test_expect_success \
94a2bb56
TZ
20 'set up test repository' \
21 'git config --add gpg.program test.git-config-gpg'
f07eeed1
LM
22
23 # The external test will outputs its own plan
24 test_external_has_tap=1
25
26 test_external \
94a2bb56
TZ
27 'git-credential-netrc' \
28 perl "$TEST_DIRECTORY"/../contrib/credential/netrc/test.pl
f07eeed1
LM
29
30 test_done
31)