Skip to content

Commit 9bc6fe7

Browse files
richardlauruyadorno
authored andcommittedMar 24, 2021
test: remove references to unsupported AIX versions
The `filehandle.utimes()` and `fs.futimes()` APIs work on all versions of AIX that are supported by this version of Node.js. PR-URL: #37826 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Stewart X Addison <sxa@redhat.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ash Cripps <acripps@redhat.com>
1 parent 43c3b43 commit 9bc6fe7

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
@@ -2326,9 +2323,6 @@ changes:
23262323
Change the file system timestamps of the object referenced by the supplied file
23272324
descriptor. See [`fs.utimes()`][].
23282325
2329-
This function does not work on AIX versions before 7.1, it will return the
2330-
error `UV_ENOSYS`.
2331-
23322326
### `fs.lchmod(path, mode, callback)`
23332327
<!-- YAML
23342328
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)
Please sign in to comment.