Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-tools / tests / msguniq-1
1 #! /bin/sh
2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
3
4 # Test general operation.
5
6 : ${MSGUNIQ-msguniq}
7 ${MSGUNIQ} -w 1000 -o msguniq-1.tmp "$abs_srcdir"/msguniq-a.in || exit 1
8 LC_ALL=C tr -d '\r' < msguniq-1.tmp > msguniq-1.out || exit 1
9
10 : ${DIFF=diff}
11 ${DIFF} "$abs_srcdir"/msguniq-a.out msguniq-1.out
12 result=$?
13
14 exit $result