#
ca544ed6 |
| 23-Jun-2023 |
小明 <7737673+caobug@users.noreply.github.com> |
unix: skip prohibited syscalls on tvOS and watchOS (#4043)
|
#
acfe668e |
| 18-Oct-2022 |
Ben Noordhuis |
build: add MemorySanitizer (MSAN) support (#3788) - unpoison results from linux system call wrappers - unpoison results from stat/fstat/lstat to pacify clang 14 (fixed in late
build: add MemorySanitizer (MSAN) support (#3788) - unpoison results from linux system call wrappers - unpoison results from stat/fstat/lstat to pacify clang 14 (fixed in later versions) - add MSAN build option - turn on MSAN CI build
show more ...
|
#
56e27902 |
| 27-Feb-2022 |
Guilherme Íscaro |
test: use closefd in runner-unix.c (#3497) This commit changes the plain close calls to the closefd function, which will properly check if close() returns an error.
|
#
592cd40a |
| 01-Jul-2021 |
Erkhes N <71805796+rexes-ND@users.noreply.github.com> |
test: wrong pointer arithmetic multiplier PR-URL: https://github.com/libuv/libuv/pull/3216 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jameson Nash <vtjnash@gmail.co
test: wrong pointer arithmetic multiplier PR-URL: https://github.com/libuv/libuv/pull/3216 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
show more ...
|
Revision tags: v1.41.0, v1.40.0, v1.39.0, v1.38.1, v1.38.0, v1.37.0, v1.36.0 |
|
#
0ed9692a |
| 27-Mar-2020 |
Ben Noordhuis |
test: simplify platform_init() PR-URL: https://github.com/libuv/libuv/pull/2755 Reviewed-By: Richard Lau <riclau@uk.ibm.com>
|
#
fa1da185 |
| 27-Mar-2020 |
Ben Noordhuis |
test: canonicalize argv[0] in exepath test Commit ff29322b ("test: canonicalize test runner path") from 2014 changed the test runner to call `realpath(3)` on `argv[0]` in order to fi
test: canonicalize argv[0] in exepath test Commit ff29322b ("test: canonicalize test runner path") from 2014 changed the test runner to call `realpath(3)` on `argv[0]` in order to fix the `get_currentexe` test failing with the autotools build when the executable path contained symbolic links but that is now causing the `spawn_reads_child_path` test to fail on z/os with the cmake build. Fix that by only doing path canonicalization in the `get_currentexe` test, not always. An auxiliary fix is applied to the `process_title_threadsafe` test because it assumed that setting the process title to a long string, then reading it back produces in the original string. On some platforms however the maximum size of the process title is limited to the size of the `argv` vector. Because the test runner used absolute paths until now, the argv vector was bigger than it is with relative paths, big enough to let this bad assumption go unnoticed until now. Minor fixes are applied to tests that assumed 1024 for the maximum path size because this commit makes visible that some of the CI matrix systems support much longer paths. PR-URL: https://github.com/libuv/libuv/pull/2755 Refs: https://github.com/libuv/libuv/pull/2737#issuecomment-602800431 Refs: https://github.com/libuv/libuv/pull/2754#issuecomment-604015785 Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
Revision tags: v1.35.0, v1.34.2, v1.34.1 |
|
#
64e5a65b |
| 08-Jan-2020 |
Jameson Nash |
test: avoid truncating output lines If the output data contained a null byte (for example, because it was really utf16), we'd truncate the output there. This commonly would manifest
test: avoid truncating output lines If the output data contained a null byte (for example, because it was really utf16), we'd truncate the output there. This commonly would manifest as the output on the CI bot being: > not ok 308 - threadpool_cancel_random > # exit code 3 > # Output from process : > # A Now we'll attempt to print out the whole error message as text (albeit with the wrong encoding, but the ascii content should still nearly always be readable). PR-URL: https://github.com/libuv/libuv/pull/2611 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
Revision tags: v1.34.0 |
|
#
8c73eee2 |
| 22-Nov-2019 |
cjihrig |
unix,win: add uv_sleep() This commit exposes the uv_sleep() function that previously only existed in the test runner. PR-URL: https://github.com/libuv/libuv/pull/2548 Review
unix,win: add uv_sleep() This commit exposes the uv_sleep() function that previously only existed in the test runner. PR-URL: https://github.com/libuv/libuv/pull/2548 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
Revision tags: v1.33.1, v1.33.0, v1.32.0, v1.31.0, v1.30.1, v1.30.0, v1.29.1, v1.29.0, v1.28.0, v1.27.0, v1.26.0, v1.25.0, v1.24.1, v1.24.0 |
|
#
143da93e |
| 29-Oct-2018 |
Ben Noordhuis |
test,unix: fix race in test runner The test runner inserted a 250 ms delay to give helper processes time to settle. That's intrinsically race-y and caused tests to intermittently fai
test,unix: fix race in test runner The test runner inserted a 250 ms delay to give helper processes time to settle. That's intrinsically race-y and caused tests to intermittently fail on platforms like AIX. Instead of a fixed delay, pass a file descriptor to the helper process and wait until it closes the descriptor. That way we know for sure the process has started. Incidentally, this change reduces the running time of the test suite from 112 to 26 seconds on my machine. Fixes: https://github.com/libuv/libuv/issues/2041 PR-URL: https://github.com/libuv/libuv/pull/2056 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
#
7da435ae |
| 29-Oct-2018 |
Ben Noordhuis |
test: fix test runner execvp async-signal-safety execvp() is not async-signal-safe, execve() is. PR-URL: https://github.com/libuv/libuv/pull/2056 Reviewed-By: Gireesh Punathil <
test: fix test runner execvp async-signal-safety execvp() is not async-signal-safe, execve() is. PR-URL: https://github.com/libuv/libuv/pull/2056 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
#
c3cbab99 |
| 29-Oct-2018 |
Ben Noordhuis |
test: fix test runner getenv async-signal-safety getenv() and atoi() are not safe to call between fork() and execve() so call them before forking. PR-URL: https://github.com/lib
test: fix test runner getenv async-signal-safety getenv() and atoi() are not safe to call between fork() and execve() so call them before forking. PR-URL: https://github.com/libuv/libuv/pull/2056 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.23.2, v1.23.1, v1.23.0, v1.22.0, v1.21.0 |
|
#
9584df25 |
| 29-May-2018 |
Bert Belder |
src,test: fix idiosyncratic comment style Back in the day I wrote comments in a really unusual way. Nowadays it makes my eyes bleed, and clang-format doesn't know how to deal with it.
src,test: fix idiosyncratic comment style Back in the day I wrote comments in a really unusual way. Nowadays it makes my eyes bleed, and clang-format doesn't know how to deal with it. PR-URL: https://github.com/libuv/libuv/pull/1853 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
show more ...
|
Revision tags: v1.20.3, v1.20.2, v1.20.1, v1.20.0, v1.19.2, v1.19.1, v1.19.0, v1.18.0, v1.17.0, v1.16.1, v1.16.0, v1.15.0, v1.14.1, v1.14.0, v1.13.1, v1.13.0 |
|
#
d4f3a42e |
| 31-May-2017 |
John Barboza |
unix,benchmark: use fd instead of FILE* after fork The FILE* object is not guaranteed to be in the same state after a fork. Instead store the file descriptor instead and use that in
unix,benchmark: use fd instead of FILE* after fork The FILE* object is not guaranteed to be in the same state after a fork. Instead store the file descriptor instead and use that in the child process. PR-URL: https://github.com/libuv/libuv/pull/1369 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.12.0, v1.11.0, v1.10.2, v1.10.1, v1.10.0 |
|
#
e37f25d7 |
| 19-Jul-2016 |
John Barboza |
unix: expand range of values for usleep uv_sleep uses only usleep which can only take integers in the range [0,1000000]. Avoid using boundary parameters such as 1000000 for portabili
unix: expand range of values for usleep uv_sleep uses only usleep which can only take integers in the range [0,1000000]. Avoid using boundary parameters such as 1000000 for portability reasons. Use sleep and usleep together to expand the acceptable range of values for uv_sleep. PR-URL: https://github.com/libuv/libuv/pull/950 Reviewed-By: Imran Iqbal <imran@imraniqbal.org> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
#
1cff5b75 |
| 05-Jul-2016 |
John Barboza |
zos: add support for new platform - zos: disable test cases not applicable - zos: build options - zos: semaphore implementation - zos: use compare and swap builtins - zos: st
zos: add support for new platform - zos: disable test cases not applicable - zos: build options - zos: semaphore implementation - zos: use compare and swap builtins - zos: struct rusage not the same as other platforms - zos: backlog<=0 produces undefined behaviour Will redefine backlog in the following way * if backlog == 0, set it to 1 * if backlog < 0, set it to SOMAXCONN - zos: define IMAXBEL as empty flag and implement uv__tty_make_raw - zos: use udp multicast operations from aix - zos: ESC in ebcdic - zos: use LIBPATH for dynamic linker path - zos: uv_udp_set_ttl only works for ipv6 - zos: increase pthread stack size by factor of 4 - zos: return ENODEV instead of ENXIO errors for setsockopt - zos: use uv_cond_init the same way as aix - test: enable oob test for zos - zos: return EINVAL for zos error code EOPNOTSUPP PR-URL: https://github.com/libuv/libuv/pull/937 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v0.10.37 |
|
#
b936ace9 |
| 06-Jun-2016 |
Ben Noordhuis |
test: improve formatting of diagnostic messages Put a space after the '#' and handle messages with newlines. PR-URL: https://github.com/libuv/libuv/pull/898 Reviewed-By: Saúl Ib
test: improve formatting of diagnostic messages Put a space after the '#' and handle messages with newlines. PR-URL: https://github.com/libuv/libuv/pull/898 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
#
cc1d38ea |
| 06-Jun-2016 |
Ben Noordhuis |
test: make tap output the default With the non-tap output, it's sometimes difficult to distinguish skipped tests from test failures. PR-URL: https://github.com/libuv/libuv/pull/
test: make tap output the default With the non-tap output, it's sometimes difficult to distinguish skipped tests from test failures. PR-URL: https://github.com/libuv/libuv/pull/898 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.9.1, v1.9.0 |
|
#
bcecc3dd |
| 04-Jan-2016 |
Ben Noordhuis |
test,unix: fix logic error in test runner Fix the logic that guards against the system clock jumping back in time. Fixes: https://github.com/libuv/libuv/issues/667 PR-URL: https
test,unix: fix logic error in test runner Fix the logic that guards against the system clock jumping back in time. Fixes: https://github.com/libuv/libuv/issues/667 PR-URL: https://github.com/libuv/libuv/pull/670 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.8.0, v1.7.5, v1.7.4, v1.7.3, v1.7.2, v1.7.1 |
|
#
54eecf32 |
| 16-Aug-2015 |
Ben Noordhuis |
test: plug small memory leak in unix test runner Join the watchdog thread unconditionally on exit. Fixes the following harmless but noisy memory leak: 576 bytes in 1 blocks
test: plug small memory leak in unix test runner Join the watchdog thread unconditionally on exit. Fixes the following harmless but noisy memory leak: 576 bytes in 1 blocks are possibly lost in loss record 1 of 2 at 0x4C2A9C7: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x40121B4: _dl_allocate_tls (in /usr/lib64/ld-2.21.so) by 0x5AEA045: pthread_create@@GLIBC_2.2.5 (in /usr/lib64/libpthread-2.21.so) by 0x450D3E: process_wait (runner-unix.c:212) by 0x4067F1: run_test (runner.c:284) by 0x405EC3: maybe_run_test (run-tests.c:180) by 0x4058AD: main (run-tests.c:57) PR-URL: https://github.com/libuv/libuv/pull/479 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.7.0 |
|
#
f3613e50 |
| 08-Jul-2015 |
Ben Noordhuis |
test,unix: reduce stack size of watchdog threads Some 32 bits architectures, linux/mips and linux/mipsel in particular, suffer from address space fragmentation when spawning many threads
test,unix: reduce stack size of watchdog threads Some 32 bits architectures, linux/mips and linux/mipsel in particular, suffer from address space fragmentation when spawning many threads with the default 8 MB stack size. The watchdog threads don't need much stack space, all they do is sleep until the monitored process exits, so lower it to 256 kB. Fixes: https://github.com/libuv/libuv/issues/408 PR-URL: https://github.com/libuv/libuv/pull/429 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
#
af20bb68 |
| 26-Jun-2015 |
Ben Noordhuis |
test: retry select() on EINTR, honor milliseconds Make the test runner code that waits for other processes to terminate retry the select() system call on EINTR and take elapsed time into
test: retry select() on EINTR, honor milliseconds Make the test runner code that waits for other processes to terminate retry the select() system call on EINTR and take elapsed time into account. A small side effect of this change is that millisecond timeout values are now honored. PR-URL: https://github.com/libuv/libuv/pull/410 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.6.1, v1.6.0, v1.5.0, v0.10.36, v1.4.2, v0.10.35, v1.4.1, v0.10.34, v1.4.0, v1.3.0, v0.10.33, v1.2.1, v1.2.0, v0.10.32, v1.1.0, v0.10.31 |
|
#
9c8e9714 |
| 13-Dec-2014 |
Saúl Ibarra Corretgé |
test: fix compilation warnings when building with Clang warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement] PR-URL: https://github.com/libuv/libuv/
test: fix compilation warnings when building with Clang warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement] PR-URL: https://github.com/libuv/libuv/pull/67 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
Revision tags: v1.0.2, v0.10.30 |
|
#
b5442510 |
| 02-Dec-2014 |
Saúl Ibarra Corretgé |
test: fix compilation warnings PR-URL: https://github.com/libuv/libuv/pull/23 |
#
ff29322b |
| 01-Dec-2014 |
Ben Noordhuis |
test: canonicalize test runner path The get_currentexe test requires a canonicalized argv[0] to check against. Before this commit, it failed when argv[0] contained symbolic links.
test: canonicalize test runner path The get_currentexe test requires a canonicalized argv[0] to check against. Before this commit, it failed when argv[0] contained symbolic links. Fixes libuv/libuv#18.
show more ...
|
Revision tags: v1.0.1, v1.0.0, v0.10.29, v1.0.0-rc2, v1.0.0-rc1, v0.11.29, v0.11.28, v0.11.27, v0.10.28, v0.11.26, v0.10.27, v0.11.25, v0.11.24, v0.11.23, v0.10.26, v0.11.22, v0.11.21, v0.11.20, v0.10.25, v0.11.19, v0.10.24, v0.11.18, v0.10.23, v0.10.22, v0.11.17, v0.10.21, v0.11.16, v0.10.20, v0.11.15, v0.10.19, v0.11.14, v0.10.18, v0.10.17, v0.10.16, v0.11.13, v0.11.12, v0.11.11, v0.11.10, v0.10.15, v0.11.9, v0.10.14, v0.11.8, v0.11.7 |
|
#
5af98d38 |
| 05-Aug-2013 |
Ben Noordhuis |
test: replace strcpy() with strncpy() |