summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msguniq-1
blob: b96238eba43cc96f0df83abbbb61bfd4cafe0a95 (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