| 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 | export PERL5LIB="$GITPERLLIB" |
| 17 | test_expect_success 'git-credential-netrc' ' |
| 18 | perl "$GIT_SOURCE_DIR"/contrib/credential/netrc/test.pl |
| 19 | ' |
| 20 | |
| 21 | test_done |
| 22 | ) |