Add core.mode configuration
[git] / t / t9000-addresses.sh
1 #!/bin/sh
2
3 test_description='compare address parsing with and without Mail::Address'
4 . ./test-lib.sh
5
6 if ! test_have_prereq PERL; then
7         skip_all='skipping perl interface tests, perl not available'
8         test_done
9 fi
10
11 perl -MTest::More -e 0 2>/dev/null || {
12         skip_all="Perl Test::More unavailable, skipping test"
13         test_done
14 }
15
16 perl -MMail::Address -e 0 2>/dev/null || {
17         skip_all="Perl Mail::Address unavailable, skipping test"
18         test_done
19 }
20
21 test_external_has_tap=1
22
23 test_external_without_stderr \
24         'Perl address parsing function' \
25         perl "$TEST_DIRECTORY"/t9000/test.pl
26
27 test_done