curl-library
Re: Tests 1060, 1061 fail
Date: Mon, 9 Jan 2017 02:25:27 +0000
On 01/08/2017 10:54 PM, Daniel Stenberg wrote:
> On Sun, 8 Jan 2017, Spork Schivago wrote:
>
dclarke $ diff -c tests/server/sws.c_backup tests/server/sws.c
*** tests/server/sws.c_backup Mon Dec 19 07:27:56 2016
--- tests/server/sws.c Mon Jan 9 01:30:25 2017
***************
*** 1200,1207 ****
--- 1200,1212 ----
size_t num = count;
if(num > 200)
num = 200;
+ retry:
written = swrite(sock, buffer, num);
if(written < 0) {
+ if((EWOULDBLOCK == errno) || (EAGAIN == errno)) {
+ wait_ms(10);
+ goto retry;
+ }
sendfailure = TRUE;
break;
}
dclarke $ /usr/local/bin/gmake check
Making check in lib
.
.
.
gmake[2]: Leaving directory
`/usr/local/build/curl-7.52.1_SunOS5.10_sparcv9.001/tests'
srcdir=. /usr/local/bin/perl -I. ./runtests.pl -a -s
********* System characteristics ********
* curl 7.52.1 (sparc64-sun-solaris2.10)
* libcurl/7.52.1 OpenSSL/1.0.2j zlib/1.2.8 libssh2/1.7.0
* Features: IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets
HTTPS-proxy
* Host: node000
* System: SunOS node000 5.10 Generic_150400-42 sun4v sparc
SUNW,SPARC-Enterprise-T5220
* Servers: HTTP-IPv6 HTTP-unix FTP-IPv6
* Env:
*****************************************
test 0001...OK (1 out of 1040, remaining: 46:29)
test 0002...OK (2 out of 1040, remaining: 26:53)
.
.
.
.
test 1057...OK (674 out of 1040, remaining: 03:50)
test 1058...OK (675 out of 1040, remaining: 03:49)
test 1059...OK (676 out of 1040, remaining: 03:48)
test 1060...OK (677 out of 1040, remaining: 03:48)
test 1061...OK (678 out of 1040, remaining: 03:49)
test 1062...OK (679 out of 1040, remaining: 03:48)
test 1063...OK (680 out of 1040, remaining: 03:47)
test 1064...OK (681 out of 1040, remaining: 03:46)
.
.
.
OK (1040 out of 1040, remaining: 00:00)
TESTDONE: 797 tests out of 797 reported OK: 100%
TESTDONE: 1050 tests were considered during 626 seconds.
Dennis Clarke
dc_at_genunix.com
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-01-09