Skip to content

strings-test.js fails on s390x #935

Description

@bryceharrington

We're running into this in Ubuntu's 22.04 CI:
https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/s390x/n/node-nan/20220306_113841_a17b2@/log.gz

534 passing (12s)
1 failing

  1. test/js/strings-test.js FromV8String should be equal:

    Error: should be equal

    • expected - actual

    -栀攀氀氀漀
    +hello

    at Test. (test/js/strings-test.js:36:5)
    at Object. (test/js/strings-test.js:14:1)

I wonder if this might be an endian issue with the usage of the Buffer class? We can disable the test but a fix/workaround would be most appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions