From: Bruno Haible Date: Mon, 17 Dec 2001 11:37:09 +0000 (+0000) Subject: Clean up correctly. X-Git-Tag: v0.11~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c425da4198900b8b4c5d81cfa0c57ed632497867;p=thirdparty%2Fgettext.git Clean up correctly. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index d4bc1e16d..da58c7ead 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2001-12-15 Bruno Haible + + * msgfmt-1: Remove temporary files in case of error. + * msgfmt-2: Likewise. + 2001-12-15 Bruno Haible * msgfmt-10: New file. diff --git a/tests/msgfmt-1 b/tests/msgfmt-1 index d4c3a42ea..23242d0aa 100755 --- a/tests/msgfmt-1 +++ b/tests/msgfmt-1 @@ -49,6 +49,7 @@ EOF # Without use of msgcat, expect a "duplicate message definition" error. : ${MSGFMT=msgfmt} if ${MSGFMT} module1.po module2.po -o LC_MESSAGES/gen.mo 2> /dev/null; then + rm -fr $tmpfiles exit 1 fi diff --git a/tests/msgfmt-2 b/tests/msgfmt-2 index 5b385bb67..c2d09185f 100755 --- a/tests/msgfmt-2 +++ b/tests/msgfmt-2 @@ -64,6 +64,7 @@ EOF # Without use of msgcat, expect a "duplicate message definition" error. : ${MSGFMT=msgfmt} if ${MSGFMT} module1.po module2.po -o LC_MESSAGES/gen.mo 2> /dev/null; then + rm -fr $tmpfiles exit 1 fi