Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 23 lines 790 B view raw
1diff --git a/test/unit/test_uv_fs.c b/test/unit/test_uv_fs.c 2index 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; 7 } 8 9-/* If the directory doesn't exist, it an error is returned. */ 10-TEST(UvFsCheckDir, doesNotExist, DirSetUp, DirTearDown, 0, NULL) 11-{ 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; 19-} 20- 21 /* If the process can't access the directory, an error is returned. */ 22 TEST(UvFsCheckDir, permissionDenied, NULL, NULL, 0, NULL) 23 {