diff options
Diffstat (limited to 'gettext-tools/tests/msgcat-9')
-rw-r--r--[-rwxr-xr-x] | gettext-tools/tests/msgcat-9 | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gettext-tools/tests/msgcat-9 b/gettext-tools/tests/msgcat-9 index 5178fb1..54f6cf1 100755..100644 --- a/gettext-tools/tests/msgcat-9 +++ b/gettext-tools/tests/msgcat-9 @@ -4,10 +4,6 @@ # Verify msgcat of two files, when the header entries have the same comments # but different contents. The resulting header entry must be marked fuzzy. -tmpfiles="" -trap 'rm -fr $tmpfiles' 1 2 3 15 - -tmpfiles="$tmpfiles mcat-test9.in1 mcat-test9.in2" cat <<\EOF > mcat-test9.in1 # German message file for xyz. # Copyright (C) 1999, 2000, 2001 xyz. @@ -56,17 +52,13 @@ msgstr "" "Glückwunsch!" EOF -tmpfiles="$tmpfiles mcat-test9.tmp mcat-test9.out" rm -f mcat-test9.tmp : ${MSGCAT=msgcat} ${MSGCAT} --more-than=0 -o mcat-test9.tmp \ - mcat-test9.in1 mcat-test9.in2 -test $? = 0 || { rm -fr $tmpfiles; exit 1; } -LC_ALL=C tr -d '\r' < mcat-test9.tmp > mcat-test9.out -test $? = 0 || { rm -fr $tmpfiles; exit 1; } + mcat-test9.in1 mcat-test9.in2 || exit 1 +LC_ALL=C tr -d '\r' < mcat-test9.tmp > mcat-test9.out || exit 1 -tmpfiles="$tmpfiles mcat-test9.ok" cat <<\EOF > mcat-test9.ok # German message file for xyz. # Copyright (C) 1999, 2000, 2001 xyz. @@ -104,6 +96,4 @@ EOF ${DIFF} mcat-test9.ok mcat-test9.out result=$? -rm -fr $tmpfiles - exit $result |