Skip to content

test: disable core dumps before running crash test

Rodrigo Muino Tomonari requested to merge github/fork/bnoordhuis/fix29286 into master

The test spawns a subprocess with the --abort-on-uncaught-exception flag and expects it to terminate with a SIGABRT signal.

On systems where core dumps are enabled, that actually generates an unnecessary core dump. Set ulimit -c 0 before spawning the subprocess.

Fixes: https://github.com/nodejs/node/issues/29286

cc @juanarbol - this is one way of doing it. :-)

Merge request reports

Loading