3 # This test often fails during development. It works after "make dist".
8 trap 'rm -fr $tmpfiles' 1 2 3 15
10 tmpfiles
="$tmpfiles zero-domain.po xg-test1.err"
12 : ${XGETTEXT=xgettext}
13 LC_MESSAGES
=C LC_ALL
= \
14 ${XGETTEXT} -k_ -d zero-domain
-x $top_srcdir/po
/gettext-tools.pot \
15 $top_srcdir/src
/xgettext.c
>xg-test1.err
2>&1
17 cat xg-test1.err |
grep -v 'warning: Charset' |
grep -v '^ '
18 test $result = 0 ||
{ rm -fr $tmpfiles; exit 1; }
20 test ! -f zero-domain.po