diff options
Diffstat (limited to 'gettext-tools/tests/msguniq-3')
-rw-r--r--[-rwxr-xr-x] | gettext-tools/tests/msguniq-3 | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/gettext-tools/tests/msguniq-3 b/gettext-tools/tests/msguniq-3 index 64ff149..672e0c3 100755..100644 --- a/gettext-tools/tests/msguniq-3 +++ b/gettext-tools/tests/msguniq-3 @@ -3,17 +3,10 @@ # Test --repeated option. -tmpfiles="" -trap 'rm -fr $tmpfiles' 1 2 3 15 - -tmpfiles="$tmpfiles msguniq-3.tmp msguniq-3.out" : ${MSGUNIQ-msguniq} -${MSGUNIQ} -w 1000 -d -o msguniq-3.tmp "$abs_srcdir"/msguniq-a.in -test $? = 0 || { rm -fr $tmpfiles; exit 1; } -LC_ALL=C tr -d '\r' < msguniq-3.tmp > msguniq-3.out -test $? = 0 || { rm -fr $tmpfiles; exit 1; } +${MSGUNIQ} -w 1000 -d -o msguniq-3.tmp "$abs_srcdir"/msguniq-a.in || exit 1 +LC_ALL=C tr -d '\r' < msguniq-3.tmp > msguniq-3.out || exit 1 -tmpfiles="$tmpfiles msguniq-3.ok" cat <<\EOF > msguniq-3.ok # Template messages for CLISP # Copyright (C) 1992-2001 Bruno Haible, Michael Stoll, Marcus Daniels @@ -497,6 +490,4 @@ EOF ${DIFF} msguniq-3.ok msguniq-3.out result=$? -rm -fr $tmpfiles - exit $result |