From 18a8672f06eb43ef1f6d883667fba1e9b941c127 Mon Sep 17 00:00:00 2001 From: Alex James Date: Tue, 2 Apr 2024 19:30:02 -0500 Subject: [PATCH] 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. --- pkgs/tools/misc/fd/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/misc/fd/default.nix b/pkgs/tools/misc/fd/default.nix index 32d0d1b27124..eddcb4b7784d 100644 --- a/pkgs/tools/misc/fd/default.nix +++ b/pkgs/tools/misc/fd/default.nix @@ -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 = ''