fd: skip invalid UTF-8 tests

These tests create files with names that aren't valid UTF-8 sequences,
which fails on filesystems that require UTF-8 filenames (such as ZFS
with utf8only=on). This change disables them to fix the check phase on
said filesystems, similar to what was done for bat in PR #300864.
This commit is contained in:
Alex James 2024-04-02 19:30:02 -05:00
parent ce93557538
commit 18a8672f06
No known key found for this signature in database
GPG key ID: 4729B829AC5FCC72

View file

@ -20,6 +20,9 @@ rustPlatform.buildRustPackage rec {
# skip flaky test
checkFlags = [
"--skip=test_owner_current_group"
# Fails if the filesystem performs UTF-8 validation (such as ZFS with utf8only=on)
"--skip=test_exec_invalid_utf8"
"--skip=test_invalid_utf8"
];
postInstall = ''