xgettext-awk-1 xgettext-awk-2 \
xgettext-c-2 xgettext-c-3 xgettext-c-4 \
xgettext-c-6 xgettext-c-9 \
- xgettext-c-16 xgettext-c-18 \
+ xgettext-c-18 \
xgettext-c-24 xgettext-c-25 \
- xgettext-c-comment-1 xgettext-c-comment-2 \
+ xgettext-c-comment-1 xgettext-c-comment-2 xgettext-c-comment-3 \
xgettext-c-escape-1 xgettext-c-escape-2 xgettext-c-escape-3 \
xgettext-c-format-1 xgettext-c-format-2 xgettext-c-format-3 \
xgettext-c-format-4 xgettext-c-format-5 \
# Test C support: --add-comments option.
-cat <<\EOF > xg-c-16.c
+cat <<\EOF > xg-c-comment-3.c
/* a */
/* b */ char *string = /* c */
/* d */
: ${XGETTEXT=xgettext}
${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
- -d xg-c-16.tmp xg-c-16.c || Exit 1
-LC_ALL=C tr -d '\r' < xg-c-16.tmp.po > xg-c-16.po || Exit 1
+ -d xg-c-comment-3.tmp xg-c-comment-3.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-comment-3.tmp.po > xg-c-comment-3.po || Exit 1
-cat <<EOF > xg-c-16.ok
+cat <<EOF > xg-c-comment-3.ok
#. a
#. b
#. c
EOF
: ${DIFF=diff}
-${DIFF} xg-c-16.ok xg-c-16.po
+${DIFF} xg-c-comment-3.ok xg-c-comment-3.po
result=$?
exit $result