3 # Copyright (c) 2008 Lea Wiemann
6 test_description='perl interface (Git.pm)'
9 perl -MTest::More -e 0 2>/dev/null || {
10 say_color skip "Perl Test::More unavailable, skipping test"
14 # set up test repository
17 'set up test repository' \
18 'echo "test file 1" > file1 &&
19 echo "test file 2" > file2 &&
21 echo "in directory1" >> directory1/file &&
23 echo "in directory2" >> directory2/file &&
25 git commit -m "first commit" &&
27 echo "changed file 1" > file1 &&
28 git commit -a -m "second commit" &&
30 git-config --add color.test.slot1 green &&
31 git-config --add test.string value &&
32 git-config --add test.dupstring value1 &&
33 git-config --add test.dupstring value2 &&
34 git-config --add test.booltrue true &&
35 git-config --add test.boolfalse no &&
36 git-config --add test.boolother other &&
37 git-config --add test.int 2k
40 test_external_without_stderr \
42 perl "$TEST_DIRECTORY"/t9700/test.pl