3
# Test C support: comments meant for xgettext, and whitespace.
6
trap 'rm -fr $tmpfiles' 1 2 3 15
8
tmpfiles="$tmpfiles xg-c-2.in.c"
9
cat <<EOF > xg-c-2.in.c
10
This is a test of the xgettext functionality.
11
/* xgettext:no-c-format */
13
Sometimes keywords can be spread apart
16
And even further on accasion
23
tmpfiles="$tmpfiles xg-c-2.po"
24
: ${XGETTEXT=xgettext}
25
${XGETTEXT} -d xg-c-2 -k_ --omit-header --no-location xg-c-2.in.c
26
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
28
tmpfiles="$tmpfiles xg-c-2.ok"
42
${DIFF} xg-c-2.ok xg-c-2.po