$OpenBSD: patch-test_test-fs_c,v 1.2 2018/02/11 18:31:35 pascal Exp $

Workaround for a minor bug:
https://github.com/libuv/libuv/issues/1216

Index: test/test-fs.c
--- test/test-fs.c.orig
+++ test/test-fs.c
@@ -1649,7 +1649,7 @@ TEST_IMPL(fs_realpath) {
   uv_fs_t req;
 
   loop = uv_default_loop();
-  ASSERT(0 == uv_fs_realpath(loop, &req, "no_such_file", dummy_cb));
+  ASSERT(0 == uv_fs_realpath(loop, &req, "no_such_dir/no_such_file", dummy_cb));
   ASSERT(0 == uv_run(loop, UV_RUN_DEFAULT));
   ASSERT(dummy_cb_count == 1);
   ASSERT(req.ptr == NULL);
@@ -1665,7 +1665,7 @@ TEST_IMPL(fs_realpath) {
   ASSERT(req.result == UV_ENOENT);
   uv_fs_req_cleanup(&req);
 
-  ASSERT(UV_ENOENT == uv_fs_realpath(NULL, &req, "no_such_file", NULL));
+  ASSERT(UV_ENOENT == uv_fs_realpath(NULL, &req, "no_such_dir/no_such_file", NULL));
   ASSERT(req.ptr == NULL);
   ASSERT(req.result == UV_ENOENT);
   uv_fs_req_cleanup(&req);
