From 994697a172351e93c6d1934404535b0113b8bbb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 23 Jun 2017 10:52:19 +0200 Subject: [PATCH] [HACK] remove failing test console_low_stack_space Ref: https://github.com/nodejs/node-v8/issues/5 --- test/message/console_low_stack_space.js | 22 ---------------------- test/message/console_low_stack_space.out | 1 - 2 files changed, 23 deletions(-) delete mode 100644 test/message/console_low_stack_space.js delete mode 100644 test/message/console_low_stack_space.out diff --git a/test/message/console_low_stack_space.js b/test/message/console_low_stack_space.js deleted file mode 100644 index 1685a35a1f9..00000000000 --- a/test/message/console_low_stack_space.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; -// copy console accessor because requiring ../common touches it -const consoleDescriptor = Object.getOwnPropertyDescriptor(global, 'console'); -delete global.console; -global.console = {}; - -require('../common'); - -function a() { - try { - return a(); - } catch (e) { - const console = consoleDescriptor.get(); - if (console.log) { - console.log('Hello, World!'); - } else { - throw e; - } - } -} - -a(); diff --git a/test/message/console_low_stack_space.out b/test/message/console_low_stack_space.out deleted file mode 100644 index 8ab686eafeb..00000000000 --- a/test/message/console_low_stack_space.out +++ /dev/null @@ -1 +0,0 @@ -Hello, World!