0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 15:30:56 +01:00
nodejs/test/sequential
Joyee Cheung 4af1bba6d0
util: implement util.getSystemErrorName()
Reimplement uv.errname() as internal/util.getSystemErrorName() to
avoid the memory leaks caused by unknown error codes
and avoid calling into C++ for the error names. Also
expose it as a public API for external use.

PR-URL: https://github.com/nodejs/node/pull/18186
Refs: http://docs.libuv.org/en/v1.x/errors.html#c.uv_err_name
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2018-01-20 08:51:47 +08:00
..
sequential.status http2: verify flood error and unsolicited frames 2018-01-08 13:10:45 -08:00
test-async-wrap-getasyncid.js util: implement util.getSystemErrorName() 2018-01-20 08:51:47 +08:00
test-benchmark-buffer.js benchmark: improve buffer.readInt(B|L)E benchmarks 2018-01-05 12:40:07 +01:00
test-benchmark-child-process.js test: create shared runBenchmark function 2017-09-11 11:26:15 -04:00
test-benchmark-http.js test: reduce test-benchmark-http iterations 2017-10-12 09:23:34 -07:00
test-benchmark-net.js test: create shared runBenchmark function 2017-09-11 11:26:15 -04:00
test-buffer-creation-regression.js
test-child-process-emfile.js
test-child-process-execsync.js test: update references to archived repository 2018-01-03 18:22:48 +01:00
test-child-process-fork-getconnections.js
test-child-process-pass-fd.js test: fix flaky test-child-process-pass-fd 2017-12-12 21:14:43 -08:00
test-cluster-inspect-brk.js
test-crypto-timing-safe-equal.js crypto: migrate timingSafeEqual to internal/errors 2017-10-26 07:47:16 -07:00
test-debug-prompt.js test: refactor test-debug-prompt 2017-09-13 17:12:57 -03:00
test-debugger-debug-brk.js test: added a test comment 2017-10-11 22:55:15 -07:00
test-debugger-repeat-last.js test: continue normalizing fixtures use 2017-08-27 21:14:34 -03:00
test-deprecation-flags.js test: use fixtures module over fixturesDir 2017-10-15 00:04:54 +08:00
test-dgram-bind-shared-ports.js
test-dgram-implicit-bind-failure.js test: move common.PORT tests to sequential 2017-09-10 23:56:30 -03:00
test-dgram-pingpong.js
test-fs-readfile-tostring-fail.js test: skip test due to file size limit 2017-10-19 09:55:55 -04:00
test-fs-watch.js test: refactor test/sequential/test-fs-watch.js 2017-08-01 10:05:17 -07:00
test-http2-max-session-memory.js http2: implement maxSessionMemory 2018-01-05 12:35:33 -08:00
test-http2-ping-flood.js http2: verify flood error and unsolicited frames 2018-01-08 13:10:45 -08:00
test-http2-session-timeout.js http2: cleanup Http2Stream/Http2Session destroy 2017-12-18 10:19:21 -08:00
test-http2-settings-flood.js http2: verify flood error and unsolicited frames 2018-01-08 13:10:45 -08:00
test-http2-timeout-large-write-file.js http2: cleanup Http2Stream/Http2Session destroy 2017-12-18 10:19:21 -08:00
test-http2-timeout-large-write.js http2: cleanup Http2Stream/Http2Session destroy 2017-12-18 10:19:21 -08:00
test-http-keep-alive-large-write.js net,src: refactor writeQueueSize tracking 2017-12-18 09:58:02 -05:00
test-http-keepalive-maxsockets.js test: move test-http-keepalive-maxsockets to sequential 2017-11-07 16:34:55 +00:00
test-http-regr-gh-2928.js
test-http-server-consumed-timeout.js test: remove undefined function 2017-12-26 10:26:07 +08:00
test-http-server-keep-alive-timeout-slow-client-headers.js
test-http-server-keep-alive-timeout-slow-server.js
test-https-keep-alive-large-write.js net,src: refactor writeQueueSize tracking 2017-12-18 09:58:02 -05:00
test-https-server-keep-alive-timeout.js test: move timing-sensitive test to sequential 2017-11-17 21:04:53 -08:00
test-init.js test: change fixturesDir to fixtures.path 2017-10-10 21:39:21 -07:00
test-inspector-async-call-stack-abort.js src: fix inspector nullptr deref on abrupt exit 2017-12-12 12:48:37 -02:00
test-inspector-async-call-stack.js inspector: track async stacks when necessary 2017-10-29 09:38:37 -07:00
test-inspector-async-hook-setup-at-inspect-brk.js test: fix inspector tests 2017-10-17 23:10:20 -07:00
test-inspector-async-hook-setup-at-signal.js src,doc,test: Fix common misspellings 2018-01-16 23:44:27 +01:00
test-inspector-async-stack-traces-promise-then.js inspector: no async tracking for promises 2017-11-21 13:57:05 +01:00
test-inspector-async-stack-traces-set-interval.js test: fix inspector tests 2017-10-17 23:10:20 -07:00
test-inspector-bindings.js test: fix inspector tests 2017-10-17 23:10:20 -07:00
test-inspector-break-e.js test: use common.crashOnUnhandledRejection 2017-11-26 15:50:43 +09:00
test-inspector-break-when-eval.js test: fix inspector tests 2017-10-17 23:10:20 -07:00
test-inspector-contexts.js test: fix spelling in test case comments 2018-01-11 16:49:38 +01:00
test-inspector-debug-brk-flag.js test: fix inspector tests 2017-10-17 23:10:20 -07:00
test-inspector-debug-end.js test: fix inspector tests 2017-10-17 23:10:20 -07:00
test-inspector-enabled.js test: move inspector tests to parallel/sequential 2017-10-17 19:35:50 -04:00
test-inspector-exception.js test: fix inspector tests 2017-10-17 23:10:20 -07:00
test-inspector-invalid-args.js test: fix inspector tests 2017-10-17 23:10:20 -07:00
test-inspector-ip-detection.js test: fix inspector tests 2017-10-17 23:10:20 -07:00
test-inspector-module.js lib: improve the usage of TypeError[INVALID_ARG_TYPE] 2017-11-12 11:04:06 -08:00
test-inspector-not-blocked-on-idle.js test: fix inspector tests 2017-10-17 23:10:20 -07:00
test-inspector-open.js test: fix inspector tests 2017-10-17 23:10:20 -07:00
test-inspector-overwrite-config.js lib: guard inspector console using process var 2017-11-13 08:26:38 +01:00
test-inspector-port-cluster.js test: add crashonUnhandledRejection 2017-11-22 14:47:26 -08:00
test-inspector-port-zero-cluster.js test: fix inspector tests 2017-10-17 23:10:20 -07:00
test-inspector-port-zero.js test: make debugging of inspector-port-zero easier 2017-11-20 15:01:54 +00:00
test-inspector-scriptparsed-context.js test: fix inspector tests 2017-10-17 23:10:20 -07:00
test-inspector-stop-profile-after-done.js test: pause child until parent is ready 2017-11-02 14:32:23 -04:00
test-inspector-stops-no-file.js test: remove unused parameter 2017-11-21 07:49:29 -08:00
test-inspector.js test: fix inspector tests 2017-10-17 23:10:20 -07:00
test-module-loading.js test: update references to archived repository 2018-01-03 18:22:48 +01:00
test-net-better-error-messages-port.js
test-net-connect-local-error.js
test-net-GH-5504.js test: clean up inappropriate language 2017-11-22 16:48:04 +02:00
test-net-listen-shared-ports.js
test-net-localport.js test: move common.PORT tests to sequential 2017-09-10 23:56:30 -03:00
test-net-reconnect-error.js
test-net-server-address.js
test-net-server-bind.js
test-next-tick-error-spin.js test: remove unused parameter in test-next-tick-error-spin.js 2017-11-21 09:11:38 -08:00
test-pipe.js
test-process-warnings.js test: use fixtures in test-process-warnings 2017-10-12 18:18:39 -07:00
test-readline-interface.js test: fix spelling in test case comments 2018-01-11 16:49:38 +01:00
test-regress-GH-784.js test: fix ordering of strictEqual actual/expected 2017-10-13 12:28:52 -07:00
test-regress-GH-877.js
test-regress-GH-1697.js
test-regress-GH-1726.js
test-regress-GH-4015.js test: replaces fixturesDir with fixtures methods 2017-10-13 20:26:38 +08:00
test-regress-GH-4027.js
test-repl-timeout-throw.js
test-require-cache-without-stat.js test: improve to use template string 2018-01-17 08:50:02 +08:00
test-stream2-fs.js test: use ES6 classes instead of util.inherits 2017-11-12 10:29:45 -08:00
test-stream2-stderr-sync.js test: improve to use template string 2018-01-17 08:50:02 +08:00
test-stream-writable-clear-buffer.js stream: fix disparity between buffer and the count 2017-10-01 23:37:15 -03:00
test-timers-block-eventloop.js test: remove unused variable 2017-11-21 07:32:51 -08:00
test-timers-blocking-callback.js test: make timers-blocking-callback more reliable 2017-08-20 15:41:18 -07:00
test-timers-set-interval-excludes-callback-duration.js test: fix flaky interval test 2018-01-18 01:11:27 +08:00
test-tls-connect.js test: remove common.PORT from parallel tests 2017-12-05 00:07:27 -08:00
test-tls-lookup.js test: replace assert.throws w/ common.expectsError 2017-12-11 18:21:58 -05:00
test-util-debug.js util: allow wildcards in NODE_DEBUG variable 2017-12-15 19:31:07 -02:00
test-vm-timeout-rethrow.js
testcfg.py