]> git.ipfire.org Git - thirdparty/git.git/blob - contrib/credential/netrc/t-git-credential-netrc.sh
tests: move copy/pasted PERL + Test::More checks to a lib-perl.sh
[thirdparty/git.git] / contrib / credential / netrc / t-git-credential-netrc.sh
1 #!/bin/sh
2 (
3 cd ../../../t
4 test_description='git-credential-netrc'
5 . ./test-lib.sh
6 . "$TEST_DIRECTORY"/lib-perl.sh
7
8 skip_all_if_no_Test_More
9
10 # set up test repository
11
12 test_expect_success \
13 'set up test repository' \
14 'git config --add gpg.program test.git-config-gpg'
15
16 # The external test will outputs its own plan
17 test_external_has_tap=1
18
19 export PERL5LIB="$GITPERLLIB"
20 test_external \
21 'git-credential-netrc' \
22 perl "$GIT_BUILD_DIR"/contrib/credential/netrc/test.pl
23
24 test_done
25 )