Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-tools / tests / msguniq-4
1 #! /bin/sh
2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
3
4 # Test general operation with Java .properties syntax.
5
6 : ${MSGUNIQ-msguniq}
7 ${MSGUNIQ} --properties-input --properties-output -w 1000 -o msguniq-4.out "$abs_srcdir"/msguniq-a.inp || exit 1
8
9 : ${MSGCAT-msgcat}
10 ${MSGCAT} --properties-output -w 1000 -o msguniq-4.ok "$abs_srcdir"/msguniq-a.out || exit 1
11
12 : ${DIFF=diff}
13 ${DIFF} msguniq-4.ok msguniq-4.out
14 result=$?
15
16 exit $result