src,test: further cleanup references to osx

PR-URL: https://github.com/nodejs/node/pull/53820
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
Daniel Bayley 2024-07-15 21:32:26 +01:00 committed by GitHub
parent 3a43e55a00
commit cff7da7749
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 48 additions and 48 deletions

View file

@ -65,7 +65,7 @@ async function checkAggregateError(op) {
await checkAggregateError((filePath) => truncate(filePath));
await checkAggregateError((filePath) => readFile(filePath));
await checkAggregateError((filePath) => writeFile(filePath, '123'));
if (common.isOSX) {
if (common.isMacOS) {
await checkAggregateError((filePath) => lchmod(filePath, 0o777));
}
})().then(common.mustCall());