[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Wget 1.13.4 test suite on Windows/MinGW
From: |
Eli Zaretskii |
Subject: |
Re: [Bug-wget] Wget 1.13.4 test suite on Windows/MinGW |
Date: |
Thu, 29 Dec 2011 18:54:54 +0200 |
> From: Giuseppe Scrivano <address@hidden>
> Cc: address@hidden
> Date: Thu, 29 Dec 2011 17:09:35 +0100
>
> > . 3 tests fail because the ioctl() call that is supposed to switch a
> > socket to blocking mode fails with error code 10038 (which
> > according to my references means "not a socket"); the fd value is 3
> > in all these cases.
>
> I am afraid we use the file descriptor as used by gnulib instead of the
> file handle.
Sorry, I don't understand this comment. fd is indeed a file
descriptor, but ioctlsocket's first argument is a SOCKET object, which
is an unsigned int, and we get it from a call to `socket' or some
such. So where do you see a potential problem?
And anyway, I think wget calls ioctlsocket for every connection; if
so, then most of those calls succeed, because the binary I built works
and is quite capably of fetching via HTTP. So these problems seem to
be triggered by something specific in those 3 tests.
> > . 7 tests fail due to wrong timestamp of the file. I don't
> > understand why would this fail, as the MinGW build is supposed to
> > use the existing library function utimes for that.
> >
> > . Test-N-current fails because of one-line mismatch of a single
> > character.
> >
> > . 3 FTP tests fail with "550 File not found".
> >
> > Are these known problems?
>
> No, they are not.
OK, I will try to look into them, time permitting.
> $ cd tests
> $ perl Test-c.px
Thanks, that will have to do.