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

# Test general operation.

: ${MSGUNIQ-msguniq}
${MSGUNIQ} -w 1000 -o msguniq-1.tmp "$abs_srcdir"/msguniq-a.in || exit 1
LC_ALL=C tr -d '\r' < msguniq-1.tmp > msguniq-1.out || exit 1

: ${DIFF=diff}
${DIFF} "$abs_srcdir"/msguniq-a.out msguniq-1.out
result=$?

exit $result