diff --git a/test/parallel/test-fs-readfile-error.js b/test/parallel/test-fs-readfile-error.js index 616760b06695a1..8f4da1e9b1c86f 100644 --- a/test/parallel/test-fs-readfile-error.js +++ b/test/parallel/test-fs-readfile-error.js @@ -24,9 +24,9 @@ const common = require('../common'); // Test that fs.readFile fails correctly on a non-existent file. -// `fs.readFile('/')` does not fail on FreeBSD, because you can open and read -// the directory there. -if (common.isFreeBSD) +// `fs.readFile('/')` does not fail on AIX and FreeBSD because you can open +// and read the directory there. +if (common.isAIX || common.isFreeBSD) common.skip('platform not supported.'); const assert = require('assert');