delta: update skipped tests on Darwin
0.18.0 replaced the `test_diff_same_non_empty_file` test with `test_diff_real_files`[^1], which similarly fails on Darwin when the sandbox is enabled.[^2]. Update `checkFlags` to skip the new test on Darwin. [^1]: https://github.com/dandavison/delta/commit/5c53c5e3d955c4f993503bfdd4dc82b436017d22#diff-46662042aa1e2ba8561f9c545e204a30c8fe4450296390453f3098263fdb402eL98 [^2]: https://gist.github.com/al3xtjames/fa1a2d5f6dd60cbea7031f4bb7014e12
This commit is contained in:
@@ -50,7 +50,9 @@ rustPlatform.buildRustPackage rec {
|
||||
dontUseCargoParallelTests = true;
|
||||
|
||||
checkFlags = lib.optionals stdenv.isDarwin [
|
||||
"--skip=test_diff_same_non_empty_file"
|
||||
# This test tries to read /etc/passwd, which fails with the sandbox
|
||||
# enabled on Darwin
|
||||
"--skip=test_diff_real_files"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user