Closed
Description
I did this
curl https://curl.haxx.se/download/curl-7.59.0.tar.xz|tar xvJf - && cd curl-7.59.0 && ./configure && make && make check
Test 1148 failed due to locale LC_NUMERIC=fr_FR.UTF-8 (dot vs comma for 100.0% in the progressbar)
1148: output (log/stderrlog1148) FAILED:
--- log/check-expected 2018-03-29 14:40:25.206158459 +0200
+++ log/check-generated 2018-03-29 14:40:25.206158459 +0200
@@ -1 +1 @@
-[CR]######################################################################## 100.0%[LF]
+[CR]######################################################################## 100,0%[LF]
I expected the following
Success for test 1148
curl/libcurl version
curl 7.59.0 (x86_64-pc-linux-gnu) libcurl/7.59.0 OpenSSL/1.1.0g zlib/1.2.8
Release-Date: 2018-03-14
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets HTTPS-proxy
operating system
Debian Sid x86_64
Fix
$ diff -u curl-7.59.0.old/tests/data/test1148 curl-7.59.0.new/tests/data/test1148
--- curl-7.59.0.old/tests/data/test1148 2017-12-03 00:33:21.000000000 +0100
+++ curl-7.59.0.new/tests/data/test1148 2018-03-29 14:42:08.732211027 +0200
@@ -37,6 +37,10 @@
<command>
http://%HOSTIP:%HTTPPORT/1148 -# --stderr log/stderrlog1148
</command>
+<setenv>
+LC_ALL=
+LC_NUMERIC=en_US.UTF-8
+</setenv>
</client>
#