]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix a test failure on MSVC.
authorBruno Haible <bruno@clisp.org>
Wed, 8 Jul 2020 07:21:26 +0000 (09:21 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 8 Jul 2020 07:21:26 +0000 (09:21 +0200)
* gettext-tools/tests/recode-sr-latin-1: Allow CRLF newlines in the output.

gettext-tools/tests/recode-sr-latin-1

index 9bdd9124b9121879ffc36d1db51dc19f0a7131f5..44d923920825085125661b72f5f570569b040f4a 100755 (executable)
@@ -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