1#! /bin/sh 2. "${srcdir=.}/init.sh"; path_prepend_ . ../src 3 4# Test of general operation. 5 6cat <<EOF > mu-test1.in 7msgid "eight" 8msgstr "eighth" 9 10msgid "five" 11msgstr "fifth" 12 13msgid "four" 14msgstr "fourth" 15 16msgid "one" 17msgstr "first" 18 19msgid "seven" 20msgstr "seventh" 21 22msgid "six" 23msgstr "sixth" 24 25msgid "three" 26msgstr "third" 27 28msgid "two" 29msgstr "second" 30EOF 31 32: ${MSGFMT=msgfmt} 33${MSGFMT} -o mu-test1.mo mu-test1.in || Exit 1 34 35: ${MSGUNFMT=msgunfmt} 36${MSGUNFMT} -o mu-test1.tmp mu-test1.mo || Exit 1 37LC_ALL=C tr -d '\r' < mu-test1.tmp > mu-test1.out || Exit 1 38 39: ${DIFF=diff} 40${DIFF} mu-test1.in mu-test1.out 41result=$? 42 43exit $result 44