File skip_no_console.patch of Package nodejs16.27999

Index: node-v14.3.0/test/parallel/test-repl-mode.js
===================================================================
--- node-v14.3.0.orig/test/parallel/test-repl-mode.js
+++ node-v14.3.0/test/parallel/test-repl-mode.js
@@ -1,9 +1,11 @@
 'use strict';
-require('../common');
+const common = require('../common');
 const assert = require('assert');
 const Stream = require('stream');
 const repl = require('repl');
 
+common.skipIfDumbTerminal();
+
 const tests = [
   testSloppyMode,
   testStrictMode,
Index: node-v14.3.0/test/parallel/test-repl-strict-mode-previews.js
===================================================================
--- node-v14.3.0.orig/test/parallel/test-repl-strict-mode-previews.js
+++ node-v14.3.0/test/parallel/test-repl-strict-mode-previews.js
@@ -5,6 +5,7 @@
 const common = require('../common');
 
 common.skipIfInspectorDisabled();
+common.skipIfDumbTerminal();
 
 if (process.argv[2] === 'child') {
   const stream = require('stream');
openSUSE Build Service is sponsored by