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