forked from pool/libuv
Accepting request 641296 from home:adamm:branches:devel:libraries:c_c++
- Update to version 1.23.2: * unix: return 0 retrieving rss on cygwin * unix: initialize uv_interface_address_t.phys_addr * test: handle uv_os_setpriority() windows edge case * tty, win: fix read stop for raw mode * Revert "Revert "unix,fs: fix for potential partial reads/writes"" * unix,readv: always permit partial reads to return * win,tty: fix uv_tty_close() * doc: remove extraneous "on * unix,win: fix threadpool race condition * unix: rework thread barrier implementation * unix: signal done to last thread barrier waiter * unix: optimize uv_fs_readlink() memory allocation For complete changelog please see https://github.com/libuv/libuv/releases * install license as %license * fix_tests.patch: fix unit tests on OBS OBS-URL: https://build.opensuse.org/request/show/641296 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libuv?expand=0&rev=25
This commit is contained in:
committed by
Git OBS Bridge
parent
a5a4cf30a1
commit
36910319bc
26
fix_tests.patch
Normal file
26
fix_tests.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
Index: libuv-1.23.2/test/test-getnameinfo.c
|
||||
===================================================================
|
||||
--- libuv-1.23.2.orig/test/test-getnameinfo.c
|
||||
+++ libuv-1.23.2/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);
|
||||
Index: libuv-1.23.2/test/test-list.h
|
||||
===================================================================
|
||||
--- libuv-1.23.2.orig/test/test-list.h
|
||||
+++ libuv-1.23.2/test/test-list.h
|
||||
@@ -746,7 +746,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)
|
Reference in New Issue
Block a user