3 # Test general operation with Java .properties syntax.
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles
="$tmpfiles men-test2.properties"
9 cat <<\EOF
> men-test2.properties
10 !height\ must\ be\ positive
=
12 color\ cannot\ be\ transparent
=colour cannot be transparent
14 width\ must\ be\ positive
=
17 tmpfiles
="$tmpfiles men-test2.out"
19 ${MSGEN} --properties-input --properties-output men-test2.properties
-o men-test2.out
20 test $?
= 0 ||
{ rm -fr $tmpfiles; exit 1; }
22 tmpfiles
="$tmpfiles men-test2.ok"
23 cat <<\EOF
> men-test2.ok
24 height\ must\ be\ positive
=height must be positive
26 color\ cannot\ be\ transparent
=colour cannot be transparent
28 width\ must\ be\ positive
=width must be positive
32 ${DIFF} men-test2.ok men-test2.out