summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msguniq-4
blob: e4e5e48a3c94c1120fdd0bcf73d70dee8654c3c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh
. "${srcdir=.}/init.sh"; path_prepend_ . ../src

# Test general operation with Java .properties syntax.

: ${MSGUNIQ-msguniq}
${MSGUNIQ} --properties-input --properties-output -w 1000 -o msguniq-4.out "$abs_srcdir"/msguniq-a.inp || Exit 1

: ${MSGCAT-msgcat}
${MSGCAT} --properties-output -w 1000 -o msguniq-4.ok "$abs_srcdir"/msguniq-a.out || Exit 1

: ${DIFF=diff}
${DIFF} msguniq-4.ok msguniq-4.out
result=$?

exit $result