mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
libarchive: unconditionally disable bsdcpio_test patrs on all linux targets
Without the change the tests started failing on filesystems with 64-bit
inode values (like `btrfs` with long age which saw 4B file creations/reletions)
as:
cpio/test/test_basic.c:65: Contents don't match
Description: Expected: bsdcpio: file: large inode number truncated: Numerical result out of range
bsdcpio: linkfile: large inode number truncated: Numerical result out of range
bsdcpio: symlink: large inode number truncated: Numerical result out of range
bsdcpio: file2: large inode number truncated: Numerical result out of range
bsdcpio: dir: large inode number truncated: Numerical result out of range
(cherry picked from commit 96c07856e2)
This commit is contained in:
committed by
Samuel Dionne-Riel
parent
c19b95a6c5
commit
ccabfb6bc5
@@ -59,9 +59,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# access-time-related tests flakey on some systems
|
||||
"cpio/test/test_option_a.c"
|
||||
"cpio/test/test_option_t.c"
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux) [
|
||||
# only on some aarch64-linux systems?
|
||||
# fails tests on filesystems with 64-bit inode values:
|
||||
# FAIL: bsdcpio_test
|
||||
# bsdcpio: linkfile: large inode number truncated: Numerical result out of range
|
||||
"cpio/test/test_basic.c"
|
||||
"cpio/test/test_format_newc.c"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user