2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test --add-location=file option.
6 cat <<EOF > mm-test25.in1
8 #. this should be discarded
14 msgstr "this is a really long msgstr "
15 "used to test the wrapping to "
16 "make sure it works after all "
17 "what is a test for if not to test things?"
23 cat <<EOF > mm-test25.in2
38 : ${MSGMERGE=msgmerge}
39 ${MSGMERGE} --add-location=file -q -o mm-test25.tmp mm-test25.in1 mm-test25.in2 \
41 LC_ALL=C tr -d '\r' < mm-test25.tmp > mm-test25.out || exit 1
43 cat << EOF > mm-test25.ok
55 "this is a really long msgstr used to test the wrapping to make sure it works "
56 "after all what is a test for if not to test things?"
66 ${DIFF} mm-test25.ok mm-test25.out