summaryrefslogtreecommitdiff
path: root/contrib/credential/netrc/t-git-credential-netrc.sh
blob: bf2777308a56b6f233553196821ab2750e269e8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
(
	cd ../../../t
	test_description='git-credential-netrc'
	. ./test-lib.sh
	. "$TEST_DIRECTORY"/lib-perl.sh
 
	skip_all_if_no_Test_More
 
	# set up test repository
 
	test_expect_success \
		'set up test repository' \
		'git config --add gpg.program test.git-config-gpg'
 
	export PERL5LIB="$GITPERLLIB"
	test_expect_success 'git-credential-netrc' '
		perl "$GIT_BUILD_DIR"/contrib/credential/netrc/test.pl
	'
 
	test_done
)