bat: skip file_with_invalid_utf8_filename test

This test tries to create a temporary file with a filename that contains
invalid UTF-8 bytes, which may fail if TMPDIR is located on a filesystem
that performs UTF-8 validation (such as ZFS with utf8only=on).

Resolves https://github.com/NixOS/nixpkgs/issues/269631.
This commit is contained in:
Alex James 2024-04-01 22:37:43 -05:00
parent 080a4a27f2
commit 47d9ce462b
No known key found for this signature in database
GPG Key ID: 4729B829AC5FCC72
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ rustPlatform.buildRustPackage rec {
"--skip=pager_more"
"--skip=pager_most"
"--skip=pager_overwrite"
# Fails if the filesystem performs UTF-8 validation (such as ZFS with utf8only=on)
"--skip=file_with_invalid_utf8_filename"
];
doInstallCheck = true;