2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test general operation with Java .properties syntax.
6 cat <<\EOF > men-test2.properties
7 !height\ must\ be\ positive=
9 color\ cannot\ be\ transparent=colour cannot be transparent
11 width\ must\ be\ positive=
15 ${MSGEN} --properties-input --properties-output -o men-test2.tmp men-test2.properties || exit 1
16 LC_ALL=C tr -d '\r' < men-test2.tmp > men-test2.out || exit 1
18 cat <<\EOF > men-test2.ok
19 height\ must\ be\ positive=height must be positive
21 color\ cannot\ be\ transparent=colour cannot be transparent
23 width\ must\ be\ positive=width must be positive
27 ${DIFF} men-test2.ok men-test2.out