diff options
author | Richard Lau <rlau@redhat.com> | 2021-03-20 05:37:29 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2021-03-24 04:15:08 +0300 |
commit | 9bc6fe7eb378fbacecb33efd2ad549f04f7b447e (patch) | |
tree | df5c6c2a842e1b296f9e2be0964bbf9be6fe6935 | |
parent | 43c3b43ea3f0e535bdca0680ae246900aa5349da (diff) |
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: https://github.com/nodejs/node/pull/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>
-rw-r--r-- | doc/api/fs.md | 6 | ||||
-rw-r--r-- | test/parallel/test-trace-events-fs-sync.js | 7 |
2 files changed, 0 insertions, 13 deletions
diff --git a/doc/api/fs.md b/doc/api/fs.md index d87f73a15f5..e01a33940f1 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -420,9 +420,6 @@ added: v10.0.0 Change the file system timestamps of the object referenced by the {FileHandle} then resolves the promise with no arguments upon success. -This function does not work on AIX versions before 7.1, it will reject the -promise with an error using code `UV_ENOSYS`. - #### `filehandle.write(buffer[, offset[, length[, position]]])` <!-- YAML added: v10.0.0 @@ -2326,9 +2323,6 @@ changes: Change the file system timestamps of the object referenced by the supplied file descriptor. See [`fs.utimes()`][]. -This function does not work on AIX versions before 7.1, it will return the -error `UV_ENOSYS`. - ### `fs.lchmod(path, mode, callback)` <!-- YAML deprecated: v0.4.7 diff --git a/test/parallel/test-trace-events-fs-sync.js b/test/parallel/test-trace-events-fs-sync.js index d8e9ca30a8e..69a0ae27782 100644 --- a/test/parallel/test-trace-events-fs-sync.js +++ b/test/parallel/test-trace-events-fs-sync.js @@ -124,13 +124,6 @@ for (const tr in tests) { '--trace-event-categories', 'node.fs.sync', '-e', tests[tr] ], { cwd: tmpdir.path, encoding: 'utf8' }); - // Some AIX versions don't support futimes or utimes, so skip. - if (common.isAIX && proc.status !== 0 && tr === 'fs.sync.futimes') { - continue; - } - if (common.isAIX && proc.status !== 0 && tr === 'fs.sync.utimes') { - continue; - } // Make sure the operation is successful. // Don't use assert with a custom message here. Otherwise the |