mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
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 <gibfahn@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
This commit is contained in:
1 parent
71f22c842b
commit
b16869c4e4
1 file changed
+10
-14
@@ -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);
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user