2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test msgen on a POT file with contexts.
6 cat <<\EOF > men-test3.pot
9 "Content-Type: text/plain; charset=UTF-8\n"
10 "Content-Transfer-Encoding: 8bit\n"
22 #. Denote a lock's state
27 #. Denote a lock's state
44 ${MSGEN} -o men-test3.tmp men-test3.pot || exit 1
45 LC_ALL=C tr -d '\r' < men-test3.tmp > men-test3.out || exit 1
47 cat <<\EOF > men-test3.ok
50 "Content-Type: text/plain; charset=UTF-8\n"
51 "Content-Transfer-Encoding: 8bit\n"
63 #. Denote a lock's state
68 #. Denote a lock's state
85 ${DIFF} men-test3.ok men-test3.out