Skip to content

[test] riscv64 failure in parallel/test-crypto-sign-verify #45065

@kapouer

Description

@kapouer

Version

v18.10.0

Platform

Linux 5.18.0-4-riscv64 #1 SMP Debian 5.18.16-1 (2022-08-10) riscv64 (riscv64)

Subsystem

test

What steps will reproduce the bug?

Run the test.

How often does it reproduce? Is there a required condition?

I don't know. At least once.

What is the expected behavior?

Test succeeds

What do you see instead?

Test fails

Additional information

What do these lines want to achieve exactly ?

const library = {
configurable: true,
set() {
throw new Error('bye, bye, library');
}
};
Object.defineProperty(Object.prototype, 'library', library);
assert.throws(() => {
crypto.createSign('sha1').sign(
`-----BEGIN RSA PRIVATE KEY-----
AAAAAAAAAAAA
-----END RSA PRIVATE KEY-----`);
}, { message: 'bye, bye, library' });

Metadata

Metadata

Assignees

No one assigned

    Labels

    testIssues and PRs related to the tests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions