lsd-rs / lsd

The next gen ls command
Apache License 2.0
12.8k stars 413 forks source link

Tests fail on OpenBSD with Rust 1.78.0 #1058

Open lcheylus opened 4 weeks ago

lcheylus commented 4 weeks ago

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

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