mise: skip setuid-preservation test on darwin too
The oci::layer preserve_metadata_dir_layer_keeps_special_permission_bits test asserts setuid bits survive layer round-trips, but Nix's build sandbox strips setuid/setgid bits on Darwin as well as Linux, so the test fails on aarch64-darwin. Skip it unconditionally, matching how the same class of failure is handled for apko (TestSpecialModeBits) and rcp. Assisted-by: Claude Code (Claude Opus 4.8)
This commit is contained in:
@@ -75,9 +75,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
checkFlags = [
|
||||
# last_modified will always be different in nix
|
||||
"--skip=tera::tests::test_last_modified"
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isLinux) [
|
||||
# Nix's Linux sandbox rejects setting setuid bits.
|
||||
# Nix's build sandbox strips setuid bits, so this round-trip assertion
|
||||
# fails on both Linux and Darwin (cf. apko's TestSpecialModeBits).
|
||||
"--skip=oci::layer::tests::preserve_metadata_dir_layer_keeps_special_permission_bits"
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isDarwin) [
|
||||
|
||||
Reference in New Issue
Block a user