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