Revert "desync: enable tests"

This reverts commit 600c38c8b2.
This commit is contained in:
aleksana
2025-12-11 22:04:15 +08:00
parent de906a6f94
commit 9d1558ba96
+2 -15
View File
@@ -21,21 +21,8 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ];
# required for TestHTTPHandlerReadWrite and other tests
__darwinAllowLocalNetworking = true;
checkFlags =
let
skippedTests = [
"TestMountIndex" # FUSE does not work in sandbox
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# sendfile is not permitted in Darwin sandbox
"TestS3StoreGetChunk/fail"
"TestS3StoreGetChunk/recover"
];
in
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
# nix builder doesn't have access to test data; tests fail for reasons unrelated to binary being bad.
doCheck = false;
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd desync \