Skip to content

Tests fail on OpenBSD for unix feature #9187

@lcheylus

Description

@lcheylus

After merge of PR #9158 and #9185, build OK on OpenBSD amd64/current with Rust 1.90.0.

But there are some errors during tests with unix feature => 4 tests FAIL

$ rustc -vV
rustc 1.90.0 (1159e78c4 2025-09-14) (built from a source tarball)
binary: rustc
commit-hash: 1159e78c4747b02ef996e55082b704c09b970588
commit-date: 2025-09-14
host: x86_64-unknown-openbsd
release: 1.90.0
LLVM version: 19.1.7

$ cargo test -v --no-default-features --features unix
(...)
failures:
    test_cp::test_cp_current_directory_preserve_attributes
    test_df::test_type_option_with_file
    test_expr::test_long_input
    test_hostname::test_hostname_ip

test result: FAILED. 3946 passed; 4 failed; 46 ignored; 0 measured; 0 filtered out; finished in 158.05s

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