Skip to content

Test tarray_of_channels fails on OpenBSD #12142

@euantorano

Description

@euantorano

The parallel/tarray_of_channels test fails on OpenBSD with the following output:

Category: parallel
Name: tests/parallel/tarray_of_channels.nim C
Action: run
Result: reOutputsDiffer
-------- Expected -------
(x: 0.0)
(x: 0.0)
(x: 0.0)
test
test
test
--------- Given  --------
(x: 0.0)
(x: 0.0)
(x: 0.0)
pthread_mutex_destroy on mutex with waiters!
pthread_mutex_destroy on mutex with waiters!
pthread_mutex_destroy on mutex with waiters!
test
test
test

This is due to OpenBSD's pthread_mutex_destroy function writing this message to stderr if a mutex isn't unlocked before destroying it:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions