Merge branch 'l10n/zh_TW/220113' of github.com:l10n-tw/git-po
[alt-git.git] / t / t0202-gettext-perl.sh
blobdf2ea34932bcfe99cd5719cc2e2f587e6b09c49e
1 #!/bin/sh
3 # Copyright (c) 2010 Ævar Arnfjörð Bjarmason
6 test_description='Perl gettext interface (Git::I18N)'
8 TEST_PASSES_SANITIZE_LEAK=true
9 . ./lib-gettext.sh
11 if ! test_have_prereq PERL; then
12 skip_all='skipping perl interface tests, perl not available'
13 test_done
16 perl -MTest::More -e 0 2>/dev/null || {
17 skip_all="Perl Test::More unavailable, skipping test"
18 test_done
21 # The external test will outputs its own plan
22 test_external_has_tap=1
24 test_external_without_stderr \
25 'Perl Git::I18N API' \
26 perl "$TEST_DIRECTORY"/t0202/test.pl
28 test_done