forked from cory/tildefriends
libuv 1.45.0, #include cleanup, probably something else.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4308 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
8
deps/libuv/test/test-dlerror.c
vendored
8
deps/libuv/test/test-dlerror.c
vendored
@ -43,7 +43,9 @@ TEST_IMPL(dlerror) {
|
||||
msg = uv_dlerror(&lib);
|
||||
ASSERT_NOT_NULL(msg);
|
||||
#if !defined(__OpenBSD__) && !defined(__QNX__)
|
||||
ASSERT_NOT_NULL(strstr(msg, path));
|
||||
/* musl's libc.a does not support dlopen(), only libc.so does. */
|
||||
if (NULL == strstr(msg, "Dynamic loading not supported"))
|
||||
ASSERT_NOT_NULL(strstr(msg, path));
|
||||
#endif
|
||||
ASSERT_NULL(strstr(msg, dlerror_no_error));
|
||||
|
||||
@ -51,7 +53,9 @@ TEST_IMPL(dlerror) {
|
||||
msg = uv_dlerror(&lib);
|
||||
ASSERT_NOT_NULL(msg);
|
||||
#if !defined(__OpenBSD__) && !defined(__QNX__)
|
||||
ASSERT_NOT_NULL(strstr(msg, path));
|
||||
/* musl's libc.a does not support dlopen(), only libc.so does. */
|
||||
if (NULL == strstr(msg, "Dynamic loading not supported"))
|
||||
ASSERT_NOT_NULL(strstr(msg, path));
|
||||
#endif
|
||||
ASSERT_NULL(strstr(msg, dlerror_no_error));
|
||||
|
||||
|
Reference in New Issue
Block a user