Skip to content

Commit 6cf85d8

Browse files
committed
test: remove references to unsupported AIX versions
The `filehandle.utimes()` and `fs.futimes()` work on all versions of AIX that are supported by this version of Node.js.
1 parent d3417bb commit 6cf85d8

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

doc/api/fs.md

-6
Original file line numberDiff line numberDiff line change
@@ -420,9 +420,6 @@ added: v10.0.0
420420
Change the file system timestamps of the object referenced by the {FileHandle}
421421
then resolves the promise with no arguments upon success.
422422
423-
This function does not work on AIX versions before 7.1, it will reject the
424-
promise with an error using code `UV_ENOSYS`.
425-
426423
#### `filehandle.write(buffer[, offset[, length[, position]]])`
427424
<!-- YAML
428425
added: v10.0.0
@@ -2329,9 +2326,6 @@ changes:
23292326
Change the file system timestamps of the object referenced by the supplied file
23302327
descriptor. See [`fs.utimes()`][].
23312328
2332-
This function does not work on AIX versions before 7.1, it will return the
2333-
error `UV_ENOSYS`.
2334-
23352329
### `fs.lchmod(path, mode, callback)`
23362330
<!-- YAML
23372331
deprecated: v0.4.7

test/parallel/test-trace-events-fs-sync.js

-7
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,6 @@ for (const tr in tests) {
124124
'--trace-event-categories', 'node.fs.sync',
125125
'-e', tests[tr] ],
126126
{ cwd: tmpdir.path, encoding: 'utf8' });
127-
// Some AIX versions don't support futimes or utimes, so skip.
128-
if (common.isAIX && proc.status !== 0 && tr === 'fs.sync.futimes') {
129-
continue;
130-
}
131-
if (common.isAIX && proc.status !== 0 && tr === 'fs.sync.utimes') {
132-
continue;
133-
}
134127

135128
// Make sure the operation is successful.
136129
// Don't use assert with a custom message here. Otherwise the

0 commit comments

Comments
 (0)