2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test a failing comparison with Java .properties syntax.
6 cat <<EOF > mc-test3.in1
13 cat <<EOF > mc-test3.in2
20 LC_MESSAGES=C LC_ALL= \
21 ${MSGCMP} --properties-input mc-test3.in1 mc-test3.in2 2>&1 | grep -v '^==' | sed -e 's|[^ ]*\\msgcmp\.exe|msgcmp|' -e 's|^msgcmp\.exe|msgcmp|' | LC_ALL=C tr -d '\r' > mc-test3.out
23 cat <<EOF > mc-test3.ok
24 mc-test3.in2:1: this message is used but not defined...
25 mc-test3.in1:3: ...but this definition is similar
26 mc-test3.in1:4: warning: this message is not used
27 msgcmp: found 1 fatal error
31 ${DIFF} mc-test3.ok mc-test3.out