-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
Closed
Labels
fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.testIssues and PRs related to the tests.Issues and PRs related to the tests.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
Version
master,v16.8.0
Platform
Microsoft Windows NT 10.0.22000.0 x64 (latest Windows 11 beta)
Subsystem
fs
What steps will reproduce the bug?
Run node test/parallel/test-fs-stat.js
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
Test should pass
What do you see instead?
node test/parallel/test-fs-stat.js
node:assert:986
throw newErr;
^
AssertionError [ERR_ASSERTION]: ifError got unwanted exception: EISDIR: illegal operation on a directory, fstat
at D:\Git\nodejs\node\test\common\index.js:364:12
at D:\Git\nodejs\node\test\common\index.js:401:15
at FSReqCallback.oncomplete (node:fs:198:21)
{
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: [Error: EISDIR: illegal operation on a directory, fstat] {
errno: -4068,
code: 'EISDIR',
syscall: 'fstat'
},
expected: null,
operator: 'ifError'
}
Additional information
Fails here:
node/test/parallel/test-fs-stat.js
Line 50 in 80785f6
| fs.fstat(-0, common.mustSucceed()); |
bathos
Metadata
Metadata
Assignees
Labels
fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.testIssues and PRs related to the tests.Issues and PRs related to the tests.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.