No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gettext / gettext-tools / tests / msguniq-4
blob352e8cf09593cb2dec533599ac15b96a2212ed4d
1 #! /bin/sh
3 # Test general operation with Java .properties syntax.
5 tmpfiles=""
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles="$tmpfiles msguniq-4.out"
9 : ${MSGUNIQ-msguniq}
10 ${MSGUNIQ} --properties-input --properties-output -w 1000 ${top_srcdir}/tests/msguniq-a.inp -o msguniq-4.out
11 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
13 tmpfiles="$tmpfiles msguniq-4.ok"
14 : ${MSGCAT-msgcat}
15 ${MSGCAT} --properties-output -w 1000 ${top_srcdir}/tests/msguniq-a.out -o msguniq-4.ok
16 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
18 : ${DIFF=diff}
19 ${DIFF} msguniq-4.ok msguniq-4.out
20 result=$?
22 rm -fr $tmpfiles
24 exit $result