GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: read() on dir on AIX does not return EISDIR · nodejs/node@b2d3445

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-fs-readfile-error.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-fs-readfile-error.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-fs-readfile-error.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ const fs = require('fs');
2525

2626
// Test that fs.readFile fails correctly on a non-existent file.
2727

28-
// `fs.readFile('/')` does not fail on FreeBSD, because you can open and read
29-
// the directory there.
30-
if (common.isFreeBSD)
28+
// `fs.readFile('/')` does not fail on AIX and FreeBSD because you can open
29+
// and read the directory there.
30+
if (common.isAIX || common.isFreeBSD)
3131
common.skip('platform not supported.');
3232

3333
const assert = require('assert');

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.