2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test of extracted comments specified per keyword, including the case of
7 cat <<\EOF > xg-test9.c
8 /* xgettext: max-width 25 */
11 /* xgettext: xml-format */
22 : ${XGETTEXT=xgettext}
23 ${XGETTEXT} --omit-header \
24 --keyword=label:1,\"xhtml-format\",\"xml-format\" \
25 --keyword=title:1,\"xhtml-format\",\"xml-format\" \
26 -d xg-test9.tmp xg-test9.c || exit 1
27 LC_ALL=C tr -d '\r' < xg-test9.tmp.po > xg-test9.po || exit 1
29 cat <<\EOF > xg-test9.ok
44 #: xg-test9.c:7 xg-test9.c:9
50 #: xg-test9.c:11 xg-test9.c:12
56 ${DIFF} xg-test9.ok xg-test9.po