From: Bruno Haible Date: Wed, 8 Jul 2020 07:21:26 +0000 (+0200) Subject: Fix a test failure on MSVC. X-Git-Tag: v0.21~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a9f5f7b04fe108ee1cb94a3e67f892289a2dc70;p=thirdparty%2Fgettext.git Fix a test failure on MSVC. * gettext-tools/tests/recode-sr-latin-1: Allow CRLF newlines in the output. --- diff --git a/gettext-tools/tests/recode-sr-latin-1 b/gettext-tools/tests/recode-sr-latin-1 index 9bdd9124b..44d923920 100755 --- a/gettext-tools/tests/recode-sr-latin-1 +++ b/gettext-tools/tests/recode-sr-latin-1 @@ -33,8 +33,9 @@ EOF : ${RECODE=recode} LC_ALL=$LOCALE_FR_UTF8 \ -${RECODE}-sr-latin < rec-srl-1.in > rec-srl-1.out \ +${RECODE}-sr-latin < rec-srl-1.in > rec-srl-1.tmp.out \ || { Exit 1; } +LC_ALL=C tr -d '\r' < rec-srl-1.tmp.out > rec-srl-1.out || Exit 1 cat <<\EOF > rec-srl-1.ok Ispravni argumenti su