Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail on OpenBSD with Rust 1.78.0 #1058

Open
lcheylus opened this issue Jun 8, 2024 · 0 comments
Open

Tests fail on OpenBSD with Rust 1.78.0 #1058

lcheylus opened this issue Jun 8, 2024 · 0 comments

Comments

@lcheylus
Copy link
Contributor

lcheylus commented Jun 8, 2024

On OpenBSD current/amd64 (future version 7.6), tests fail with Rust 1.78.0.

  • OS: OpenBSD amd64 (kernel = OpenBSD 7.5-current (GENERIC.MP) #114)
  • Rust version 1.78.0 installed via OpenBSD ports
$ rustc -vV
rustc 1.78.0 (15adfb9cd 2024-04-28) (built from a source tarball)
binary: rustc
commit-hash: 15adfb9cd5b029268e1470a41391d91859b0a1f8
commit-date: 2024-04-28
host: x86_64-unknown-openbsd
release: 1.78.0
LLVM version: 16.0.6
  • Clone lsd sources via Git
  • Build OK
$ cargo build -v
(...)
$ target/debug/lsd --version
lsd 1.1.2
  • Tests fail with cargo test:
$ cargo test -v
(...)
test theme::icon::tests::test_tmp_partial_default_theme_file ... ok

failures:

---- meta::inode::tests::test_inode_no_zero stdout ----
thread 'meta::inode::tests::test_inode_no_zero' panicked at src/meta/inode.rs:53:9:
failed to exec touch

---- meta::links::tests::test_hardlinks_no_zero stdout ----
thread 'meta::links::tests::test_hardlinks_no_zero' panicked at src/meta/links.rs:53:9:
failed to exec touch

---- meta::permissions::test::permission_octal_sticky stdout ----
thread 'meta::permissions::test::permission_octal_sticky' panicked at src/meta/permissions.rs:287:14:
unable to set permissions to file: Os { code: 79, kind: Uncategorized, message: "Inappropriate file type or format" }

---- meta::permissions::test::permission_rwx_sticky stdout ----
thread 'meta::permissions::test::permission_rwx_sticky' panicked at src/meta/permissions.rs:223:14:
unable to set permissions to file: Os { code: 79, kind: Uncategorized, message: "Inappropriate file type or format" }


failures:
    meta::inode::tests::test_inode_no_zero
    meta::links::tests::test_hardlinks_no_zero
    meta::permissions::test::permission_octal_sticky
    meta::permissions::test::permission_rwx_sticky

test result: FAILED. 385 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.98s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant