From b16869c4e42d0861ba0890aaeef02e25daf46b11 Mon Sep 17 00:00:00 2001 From: "Sakthipriyan Vairamani (thefourtheye)" Date: Thu, 27 Apr 2017 07:36:49 +0530 Subject: [PATCH] test: remove AIX guard in fs-options-immutable The fs watch test was not run on AIX till now because of the known issue, https://github.com/nodejs/node/issues/5085. Now that it is completed, this guard can be removed. PR-URL: https://github.com/nodejs/node/pull/12687 Reviewed-By: Gibson Fahnestock Reviewed-By: Colin Ihrig Reviewed-By: Michael Dawson Reviewed-By: James M Snell Reviewed-By: Brian White --- test/parallel/test-fs-options-immutable.js | 24 +++++++++------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/test/parallel/test-fs-options-immutable.js b/test/parallel/test-fs-options-immutable.js index 5f43a334f8..8993aebe0c 100644 --- a/test/parallel/test-fs-options-immutable.js +++ b/test/parallel/test-fs-options-immutable.js @@ -58,21 +58,17 @@ if (common.canCreateSymLink()) { ); } -if (!common.isAix) { - // TODO(thefourtheye) Remove this guard once - // https://github.com/nodejs/node/issues/5085 is fixed - { - let watch; - assert.doesNotThrow(() => { - watch = fs.watch(__filename, options, common.noop); - }); - watch.close(); - } +{ + let watch; + assert.doesNotThrow(() => { + watch = fs.watch(__filename, options, common.noop); + }); + watch.close(); +} - { - assert.doesNotThrow(() => fs.watchFile(__filename, options, common.noop)); - fs.unwatchFile(__filename); - } +{ + assert.doesNotThrow(() => fs.watchFile(__filename, options, common.noop)); + fs.unwatchFile(__filename); } {