<feed xmlns='http://www.w3.org/2005/Atom'>
<title>curl/tests/data/test1148, branch master</title>
<subtitle>cURL mirror with patches applied
</subtitle>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/'/>
<entry>
<title>test1148: tolerate progress updates better (again)</title>
<updated>2020-04-11T06:51:50+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2020-04-07T04:50:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=17c18fbc3015b5dc0580d16a4ff5bcf2fd88b449'/>
<id>17c18fbc3015b5dc0580d16a4ff5bcf2fd88b449</id>
<content type='text'>
- Ignore intermediate progress updates.

- Support locales that use a character other than period as decimal
  separator (eg 100,0%).

test1148 checks that the progress finishes at 100% and has the right
bar width. Prior to this change the test assumed that the only progress
reported for such a quick transfer was 100%, however in rare instances
(like in the CI where transfer time can slow considerably) there may be
intermediate updates. For example, below is stderrlog1148 from a failed
CI run with explicit \r and \n added (it is one line; broken up so that
it's easier to understand).

\r
\r##################################                                        48.3%
\r######################################################################## 100.0%
\n

Closes https://github.com/curl/curl/pull/5194
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Ignore intermediate progress updates.

- Support locales that use a character other than period as decimal
  separator (eg 100,0%).

test1148 checks that the progress finishes at 100% and has the right
bar width. Prior to this change the test assumed that the only progress
reported for such a quick transfer was 100%, however in rare instances
(like in the CI where transfer time can slow considerably) there may be
intermediate updates. For example, below is stderrlog1148 from a failed
CI run with explicit \r and \n added (it is one line; broken up so that
it's easier to understand).

\r
\r##################################                                        48.3%
\r######################################################################## 100.0%
\n

Closes https://github.com/curl/curl/pull/5194
</pre>
</div>
</content>
</entry>
<entry>
<title>test1148: fix precheck output</title>
<updated>2018-09-02T10:51:00+00:00</updated>
<author>
<name>Marcel Raad</name>
<email>Marcel.Raad@teamviewer.com</email>
</author>
<published>2018-09-02T10:51:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=b8b338351c6e706c87f55e223a50d7bc516cfecb'/>
<id>b8b338351c6e706c87f55e223a50d7bc516cfecb</id>
<content type='text'>
"precheck command error" is not very helpful.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"precheck command error" is not very helpful.
</pre>
</div>
</content>
</entry>
<entry>
<title>test1148: disable if decimal separator is not point</title>
<updated>2018-08-21T17:00:48+00:00</updated>
<author>
<name>Marcel Raad</name>
<email>Marcel.Raad@teamviewer.com</email>
</author>
<published>2018-07-24T21:26:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=93b34981fa6f82e49ffe90ba8b6f0fefbfba281e'/>
<id>93b34981fa6f82e49ffe90ba8b6f0fefbfba281e</id>
<content type='text'>
Modifying the locale with environment variables doesn't work for native
Windows applications. Just disable the test in this case if the decimal
separator is something different than a point. Use a precheck with a
small C program to achieve that.

Closes https://github.com/curl/curl/pull/2786
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modifying the locale with environment variables doesn't work for native
Windows applications. Just disable the test in this case if the decimal
separator is something different than a point. Use a precheck with a
small C program to achieve that.

Closes https://github.com/curl/curl/pull/2786
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: fixes for Windows line endlings</title>
<updated>2018-07-21T18:47:42+00:00</updated>
<author>
<name>Marcel Raad</name>
<email>Marcel.Raad@teamviewer.com</email>
</author>
<published>2018-07-21T10:24:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=6d13432bfa1097da7efb4a5fffac27a22af2002c'/>
<id>6d13432bfa1097da7efb4a5fffac27a22af2002c</id>
<content type='text'>
Set mode="text" when line endings depend on the system representation.

Closes https://github.com/curl/curl/pull/2772
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set mode="text" when line endings depend on the system representation.

Closes https://github.com/curl/curl/pull/2772
</pre>
</div>
</content>
</entry>
<entry>
<title>test1148: tolerate progress updates better</title>
<updated>2018-04-16T14:53:46+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-04-12T15:56:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=6cbe96975b57586cf4b8dd9b20f0ac9712d96839'/>
<id>6cbe96975b57586cf4b8dd9b20f0ac9712d96839</id>
<content type='text'>
Fixes #2446
Closes #2488
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #2446
Closes #2488
</pre>
</div>
</content>
</entry>
<entry>
<title>test1148: set a fixed locale for the test</title>
<updated>2018-04-02T08:32:19+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-04-02T08:30:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=28faaacee287b019bcf2961da3bf2f91d331bcbd'/>
<id>28faaacee287b019bcf2961da3bf2f91d331bcbd</id>
<content type='text'>
...as otherwise it might use a different decimal sign.

Bug: #2436
Reported-by: Oumph on github
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
...as otherwise it might use a different decimal sign.

Bug: #2436
Reported-by: Oumph on github
</pre>
</div>
</content>
</entry>
<entry>
<title>test1148: verify the -# progressbar</title>
<updated>2017-06-16T07:45:26+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2017-06-13T21:07:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=de4c747544ebcaa0d5358418eb4a47879a15ccd4'/>
<id>de4c747544ebcaa0d5358418eb4a47879a15ccd4</id>
<content type='text'>
Closes #1569
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1569
</pre>
</div>
</content>
</entry>
</feed>
