xgettext-13 xgettext-14 \
xgettext-appdata-1 \
xgettext-awk-1 xgettext-awk-2 \
- xgettext-c-2 xgettext-c-3 xgettext-c-4 xgettext-c-5 \
- xgettext-c-18 \
+ xgettext-c-2 xgettext-c-3 xgettext-c-4 xgettext-c-5 xgettext-c-6 \
xgettext-c-comment-1 xgettext-c-comment-2 xgettext-c-comment-3 \
xgettext-c-comment-4 xgettext-c-comment-5 xgettext-c-comment-6 \
xgettext-c-escape-1 xgettext-c-escape-2 xgettext-c-escape-3 \
# Test C support: extraction of 'range:' flags.
-cat <<\EOF > xg-c-18.c
+cat <<\EOF > xg-c-6.c
if (days > 7 && days < 14)
/* xgettext: range: 1..6 */
printf (ngettext ("one week and one day", "one week and %d days",
EOF
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -d xg-c-18.tmp xg-c-18.c || Exit 1
-LC_ALL=C tr -d '\r' < xg-c-18.tmp.po > xg-c-18.po || Exit 1
+${XGETTEXT} --omit-header --no-location -d xg-c-6.tmp xg-c-6.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-6.tmp.po > xg-c-6.po || Exit 1
-cat <<EOF > xg-c-18.ok
+cat <<EOF > xg-c-6.ok
#, c-format, range: 1..6
msgid "one week and one day"
msgid_plural "one week and %d days"
EOF
: ${DIFF=diff}
-${DIFF} xg-c-18.ok xg-c-18.po
+${DIFF} xg-c-6.ok xg-c-6.po
result=$?
exit $result