1 #! /bin/sh 2 3 # Test general operation with Java .properties syntax. 4 5 tmpfiles="" 6 trap 'rm -fr $tmpfiles' 1 2 3 15 7 8 tmpfiles="$tmpfiles msguniq-4.out" 9 : ${MSGUNIQ-msguniq} 10 ${MSGUNIQ} --properties-input --properties-output -w 1000 -o msguniq-4.out ${top_srcdir}/tests/msguniq-a.inp 11 test $? = 0 || { rm -fr $tmpfiles; exit 1; } 12 13 tmpfiles="$tmpfiles msguniq-4.ok" 14 : ${MSGCAT-msgcat} 15 ${MSGCAT} --properties-output -w 1000 -o msguniq-4.ok ${top_srcdir}/tests/msguniq-a.out 16 test $? = 0 || { rm -fr $tmpfiles; exit 1; } 17 18 : ${DIFF=diff} 19 ${DIFF} msguniq-4.ok msguniq-4.out 20 result=$? 21 22 rm -fr $tmpfiles 23 24 exit $result 25