node/test/abort
James M Snell 2d64a51270
test: remove isGlibc from common
The `common.isGlibc()` function is called exactly once from only
one test. There's no reason for it to be in `require('../common')`
at the current time. If it ends up needing to be used by multiple
tests, it can easily be moved into it's own common sub-module
(e.g. `require('../common/isglibc')` ... for now tho, just move
it into the one test that uses it and simplify the implementation
a bit to remove unnecessary caching.

PR-URL: https://github.com/nodejs/node/pull/22443
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2018-08-23 16:14:44 -07:00
..
test-abort-backtrace.js test: fix test-abort-backtrace in shared lib build 2018-03-11 04:04:14 +01:00
test-abort-uncaught-exception.js vm: never abort on caught syntax error 2017-12-05 23:49:36 +01:00
test-addon-uv-handle-leak.js test: remove isGlibc from common 2018-08-23 16:14:44 -07:00
test-http-parser-consume.js test: fix spelling in test case comments 2018-01-11 16:49:38 +01:00
test-process-abort-exitcode.js test,process: run 'abort' suite on Windows 2017-09-03 17:20:20 -04:00
test-zlib-invalid-internals-usage.js test: refactor using template string 2017-11-26 09:20:20 -08:00
testcfg.py test: run abort tests 2017-08-26 16:30:35 -07:00