Michele Locati wrote:
> The only remaining failing test is not test-nonblocking-socket.sh:
> I'll try to see what's going wrong there.
FAIL: test-nonblocking-socket.sh
================================
../../gltests/test-nonblocking-reader.h:111: assertion 'spent_time < 0.5' failed
test-nonblocking-socket-main.exe: ./test-nonblocking-socket-child.exe
subprocess got fatal signal 15
../../gltests/test-nonblocking-socket-main.c:119: assertion 'err == 0' failed
FAIL test-nonblocking-socket.sh (exit status: 1)
The error message from the main process is a consequence of the error
in the child process. The comment says that apparently, non-blocking sockets
don't work. The code in gnulib/lib/nonblocking.c uses Windows system calls
with pipes.
Maybe the cause is that in your CI you use
defaults:
run:
shell: C:\cygwin\bin\bash.exe --login -e {0}
where my CI has
defaults:
run:
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'
?
Bruno