blob: b1b5e1087151f391d7a3d723a1fe0e5de10da3c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#! /bin/sh
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# This test often fails during development. It works after "make dist".
# Test C support.
: ${XGETTEXT=xgettext}
${XGETTEXT} -d xg-c-1.tmp -k_ --omit-header --no-location \
"$abs_top_srcdir"/src/xgettext.c "$abs_top_srcdir"/src/msgfmt.c || Exit 1
LC_ALL=C tr -d '\r' < xg-c-1.tmp.po > xg-c-1.po || Exit 1
: ${DIFF=diff}
${DIFF} "$abs_srcdir"/xg-c-1.ok.po xg-c-1.po
result=$?
exit $result
|