2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test handling of obsolete/untranslated messages with Java .properties syntax.
11 not\ existing=but with translation
14 !not\ existing\ without\ translation=
17 still\ existing=translation
20 # trailing comments should be removed
23 cat <<EOF > mm-p-1.in2
28 still\ existing=here is normally no comment
34 # trailing comments should be removed, even here
37 : ${MSGMERGE=msgmerge}
38 ${MSGMERGE} -q --properties-input --properties-output -o mm-p-1.tmp mm-p-1.in1 mm-p-1.in2 || exit 1
39 LC_ALL=C tr -d '\r' < mm-p-1.tmp > mm-p-1.out || exit 1
41 cat << EOF > mm-p-1.ok
43 still\ existing=translation
50 ${DIFF} mm-p-1.ok mm-p-1.out