Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / raft-canonical / disable-missing-dir-test.patch
blobddfec9b22e14a757a0d61bb738235e48627b0d57
1 diff --git a/test/unit/test_uv_fs.c b/test/unit/test_uv_fs.c
2 index 638c39c..c8758d2 100644
3 --- a/test/unit/test_uv_fs.c
4 +++ b/test/unit/test_uv_fs.c
5 @@ -40,18 +40,6 @@ TEST(UvFsCheckDir, exists, DirSetUp, DirTearDown, 0, NULL)
6 return MUNIT_OK;
9 -/* If the directory doesn't exist, it an error is returned. */
10 -TEST(UvFsCheckDir, doesNotExist, DirSetUp, DirTearDown, 0, NULL)
12 - const char *parent = data;
13 - char errmsg[RAFT_ERRMSG_BUF_SIZE];
14 - char dir[128];
15 - sprintf(errmsg, "%s/sub", parent);
16 - sprintf(errmsg, "directory '%s' does not exist", dir);
17 - CHECK_DIR_ERROR(dir, RAFT_NOTFOUND, errmsg);
18 - return MUNIT_OK;
21 /* If the process can't access the directory, an error is returned. */
22 TEST(UvFsCheckDir, permissionDenied, NULL, NULL, 0, NULL)