summary refs log tree commit diff
path: root/pkgs/by-name/ra/raft-cowsql/disable-missing-dir-test.patch
blob: ddfec9b22e14a757a0d61bb738235e48627b0d57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff --git a/test/unit/test_uv_fs.c b/test/unit/test_uv_fs.c
index 638c39c..c8758d2 100644
--- a/test/unit/test_uv_fs.c
+++ b/test/unit/test_uv_fs.c
@@ -40,18 +40,6 @@ TEST(UvFsCheckDir, exists, DirSetUp, DirTearDown, 0, NULL)
     return MUNIT_OK;
 }
 
-/* If the directory doesn't exist, it an error is returned. */
-TEST(UvFsCheckDir, doesNotExist, DirSetUp, DirTearDown, 0, NULL)
-{
-    const char *parent = data;
-    char errmsg[RAFT_ERRMSG_BUF_SIZE];
-    char dir[128];
-    sprintf(errmsg, "%s/sub", parent);
-    sprintf(errmsg, "directory '%s' does not exist", dir);
-    CHECK_DIR_ERROR(dir, RAFT_NOTFOUND, errmsg);
-    return MUNIT_OK;
-}
-
 /* If the process can't access the directory, an error is returned. */
 TEST(UvFsCheckDir, permissionDenied, NULL, NULL, 0, NULL)
 {