SHA256
3
0
forked from pool/libuv
libuv/fix_tests.patch

23 lines
776 B
Diff
Raw Normal View History

Accepting request 713180 from home:mcepl:neovim - Upgrade to 1.30.1: * doc: fix incorrect versionchanged (cjihrig) * test: allow UV_ECONNRESET in tcp_try_write_error (cjihrig) * unix: add uv_get_constrained_memory() cygwin stub (cjihrig) * build: fix android cmake build (Ben Noordhuis) * unix: squelch -Wcast-function-type warning (Ben Noordhuis) * build: fix compile error with uClibc (zlargon)* darwin: fall back to F_BARRIERFSYNC (Ben Noordhuis) * darwin: add 32 bit close$NOCANCEL implementation (ken-cunningham-webuse) * build, core, unix: add support for Haiku (Leorize) * darwin,linux: more conservative minimum stack size (Ben Noordhuis) * threadpool: increase UV_THREADPOOL_SIZE limit (Vlad A) * unix: return actual error from `uv_try_write()` (Anna Henningsen) * darwin: fix build error with macos 10.10 (Ben Noordhuis) * unix: make uv_cwd() report UV_ENOBUFS (Ben Noordhuis) * unix: make uv_fs_read() fill all buffers (Ben Noordhuis) * test: give hrtime test a custom 10s timeout (Ben Noordhuis) * fs: fix uv_fs_copyfile if same src and dst (Santiago Gimeno) * build: add cmake option to skip building tests (Niels Lohmann) * doc: add link to nodejs.org (Jenil Christo) * unix: fix a comment typo in signal.c (Evgeny Ermakov) * unix: remove redundant cast in process.c (gengjiawen) * doc: fix wrong mutex function prototypes (Leo Chung) * unix: simplify uv/posix.h include logic (cjihrig) * test: increase test timeout (cjihrig) * linux: fix sscanf() overflows reading from /proc (Ben Noordhuis) * ibmi: read memory and CPU usage info (Xu Meng) * doc: update the cmake testing instruction (zlargon) * unix: fix race condition in uv_async_send() (Ben Noordhuis) OBS-URL: https://build.opensuse.org/request/show/713180 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libuv?expand=0&rev=33
2019-07-07 15:44:19 +02:00
--- a/test/test-getnameinfo.c
+++ b/test/test-getnameinfo.c
@@ -39,6 +39,8 @@ static void getnameinfo_req(uv_getnamein
const char* hostname,
const char* service) {
ASSERT(handle != NULL);
+ if (status != 0)
+ fprintf(stderr, " status: %d\n", status);
ASSERT(status == 0);
ASSERT(hostname != NULL);
ASSERT(service != NULL);
Accepting request 713180 from home:mcepl:neovim - Upgrade to 1.30.1: * doc: fix incorrect versionchanged (cjihrig) * test: allow UV_ECONNRESET in tcp_try_write_error (cjihrig) * unix: add uv_get_constrained_memory() cygwin stub (cjihrig) * build: fix android cmake build (Ben Noordhuis) * unix: squelch -Wcast-function-type warning (Ben Noordhuis) * build: fix compile error with uClibc (zlargon)* darwin: fall back to F_BARRIERFSYNC (Ben Noordhuis) * darwin: add 32 bit close$NOCANCEL implementation (ken-cunningham-webuse) * build, core, unix: add support for Haiku (Leorize) * darwin,linux: more conservative minimum stack size (Ben Noordhuis) * threadpool: increase UV_THREADPOOL_SIZE limit (Vlad A) * unix: return actual error from `uv_try_write()` (Anna Henningsen) * darwin: fix build error with macos 10.10 (Ben Noordhuis) * unix: make uv_cwd() report UV_ENOBUFS (Ben Noordhuis) * unix: make uv_fs_read() fill all buffers (Ben Noordhuis) * test: give hrtime test a custom 10s timeout (Ben Noordhuis) * fs: fix uv_fs_copyfile if same src and dst (Santiago Gimeno) * build: add cmake option to skip building tests (Niels Lohmann) * doc: add link to nodejs.org (Jenil Christo) * unix: fix a comment typo in signal.c (Evgeny Ermakov) * unix: remove redundant cast in process.c (gengjiawen) * doc: fix wrong mutex function prototypes (Leo Chung) * unix: simplify uv/posix.h include logic (cjihrig) * test: increase test timeout (cjihrig) * linux: fix sscanf() overflows reading from /proc (Ben Noordhuis) * ibmi: read memory and CPU usage info (Xu Meng) * doc: update the cmake testing instruction (zlargon) * unix: fix race condition in uv_async_send() (Ben Noordhuis) OBS-URL: https://build.opensuse.org/request/show/713180 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libuv?expand=0&rev=33
2019-07-07 15:44:19 +02:00
--- a/test/test-list.h
+++ b/test/test-list.h
@@ -792,7 +792,7 @@ TASK_LIST_START
TEST_ENTRY (getnameinfo_basic_ip4)
TEST_ENTRY (getnameinfo_basic_ip4_sync)
- TEST_ENTRY (getnameinfo_basic_ip6)
+// TEST_ENTRY (getnameinfo_basic_ip6) // broken on OBS because no network to resolve ::1 => hostname
TEST_ENTRY (getsockname_tcp)
TEST_ENTRY (getsockname_udp)