2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test Shell support: --add-comments option.
6 cat <<\EOF > xg-sh-6.sh
11 : ${XGETTEXT=xgettext}
12 ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
13 -d xg-sh-6.tmp xg-sh-6.sh || exit 1
14 LC_ALL=C tr -d '\r' < xg-sh-6.tmp.po > xg-sh-6.po || exit 1
16 cat <<EOF > xg-sh-6.ok
23 ${DIFF} xg-sh-6.ok xg-sh-6.po