1#! /bin/sh 2. "${srcdir=.}/init.sh"; path_prepend_ . ../src 3 4# Test general operation with Java .properties syntax. 5 6cat <<\EOF > men-test2.properties 7!height\ must\ be\ positive= 8 9color\ cannot\ be\ transparent=colour cannot be transparent 10 11width\ must\ be\ positive= 12EOF 13 14: ${MSGEN=msgen} 15${MSGEN} --properties-input --properties-output -o men-test2.tmp men-test2.properties || Exit 1 16LC_ALL=C tr -d '\r' < men-test2.tmp > men-test2.out || Exit 1 17 18cat <<\EOF > men-test2.ok 19height\ must\ be\ positive=height must be positive 20 21color\ cannot\ be\ transparent=colour cannot be transparent 22 23width\ must\ be\ positive=width must be positive 24EOF 25 26: ${DIFF=diff} 27${DIFF} men-test2.ok men-test2.out 28result=$? 29 30exit $result 31