1#! /bin/sh 2. "${srcdir=.}/init.sh"; path_prepend_ . ../src 3 4# Verify that msgcat leaves #: lines in place even if they have a bizarre 5# syntax. 6 7cat <<\EOF > mcat-test11.in 8#: basctl/source\basicide\basidesh.src#RID_STR_NOMODULE.text 9msgid "Simple" 10msgstr "Einfach" 11 12#: basctl/source\basicide\basidesh.src:RID_STR_NOMODULE.text 13msgid "Different" 14msgstr "Anders" 15 16#: file:4 17msgid "where" 18msgstr "wo" 19 20#: line:4 21msgid "what" 22msgstr "was" 23 24#: number:4 25msgid "who" 26msgstr "wer" 27 28#: foobar:4a 29msgid "whenever" 30msgstr "immer" 31EOF 32 33: ${MSGCAT=msgcat} 34${MSGCAT} -o mcat-test11.tmp mcat-test11.in || Exit 1 35LC_ALL=C tr -d '\r' < mcat-test11.tmp > mcat-test11.out || Exit 1 36 37: ${DIFF=diff} 38${DIFF} mcat-test11.in mcat-test11.out 39result=$? 40 41exit $result 42