[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help for failure for s390





Le dim. 5 nov. 2023 à 15:24, Jérémy Lal <kapouer@melix.org> a écrit :


Le dim. 5 nov. 2023 à 15:00, Bastien Roucariès <rouca@debian.org> a écrit :
HI,

Can someone get a glimpse at node-get-stream and regression for s390 https://ci.debian.net/data/autopkgtest/testing/s390x/n/node-get-stream/39560761/log.gz

I hae tried without sucess to fix this endian problem

Indeed, the test is rigged to fail: file:///usr/share/doc/nodejs/api/buffer.html
Node.js only supports the little-endian variant of UTF-16.
However, it is discussed here:
which tells that
file:///usr/share/doc/nodejs/api/buffer.html#buffer_buf_swap16
is a way to go.

Also I suppose that
os.endianness() == "BE" or "LE"
is a nicer check...
 

Reply to: