test: delete test/pummel/test-repl-empty-maybelocal-crash.js

It was disconnecting the runners from the CI server. Not worth having a
resource-intensive test for this kind of an edge cases.

Fixes: https://github.com/nodejs/node/issues/42719
Signed-off-by: Darshan Sen <raisinten@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/42720
Fixes: https://github.com/nodejs/node/issues/42719
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: Stewart X Addison <sxa@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Darshan Sen 2022-04-13 19:46:13 +05:30 committed by Beth Griggs
parent aa88e5e4b9
commit 19064bec34
No known key found for this signature in database
GPG Key ID: D7062848A1AB005C

View File

@ -1,20 +0,0 @@
'use strict';
const common = require('../common');
if (common.isPi) {
common.skip('Too slow for Raspberry Pi devices');
}
// The process should not crash when the REPL receives the string, 'ss'.
// Test for https://github.com/nodejs/node/issues/42407.
const repl = require('repl');
const r = repl.start();
r.write('var buf = Buffer.from({length:200e6},(_,i) => i%256);\n');
r.write('var ss = buf.toString("binary");\n');
r.write('ss');
r.write('.');
r.close();