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