Dear Maintainer,
Tests fail in socket.tst on all Debian mips architectures (32- and 64-bit, low and big endian).
The reason is that the ABI for ECONNREFUSED and ECONNRESET is different on these platforms.
I attach a (rather hackish) patch that I applied to the Debian package.
Thanks,
S. Villemot
Actually there are similar issues on sparc64, GNU/Hurd and GNU/kFreeBSD. Maybe a more systematic solution should be designed.
FWIW, here is an updated version of my hackish patch, that supports more architectures.
Thank you for the patch. I will apply it soon.
> Maybe a more systematic solution should be designed.
Absolutely. There are three options I can currently think of:
* Extend OS-ERROR so that it includes not only the numeric value of the code, but also a list of known names of this error code.
* Add a function that converts a numeric errno code to a list of symbolic ones.
* Just add a function that maps a symbolic errno code to a numeric one.
Bruno, bidirectional errno<--->keyword conversion is already present in the syscalls module.
the right solution is probably to move these tests from the core to the syscalls module.
Thank you. I have applied your patch.