summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msguniq-4
blob: 89e1279a9fef1edbf4c1fe4c02305105eea24d12 (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