Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions test/parallel/test-fs-promises.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ const fsPromises = require('fs/promises');
const {
access,
chmod,
chown,
copyFile,
fchmod,
fchown,
fdatasync,
fstat,
fsync,
Expand All @@ -29,8 +27,6 @@ const {
realpath,
rename,
rmdir,
lchmod,
lchown,
stat,
symlink,
write,
Expand Down Expand Up @@ -99,21 +95,6 @@ function verifyStatObject(stat) {

await chmod(dest, 0o666);
await fchmod(handle, 0o666);
// lchmod is only available on OSX
if (common.isOSX) {
await lchmod(dest, 0o666);
}

if (!common.isWindows) {
const gid = process.getgid();
const uid = process.getuid();
await chown(dest, uid, gid);
await fchown(handle, uid, gid);
// lchown is only available on OSX
if (common.isOSX) {
await lchown(dest, uid, gid);
}
}

await utimes(dest, new Date(), new Date());

Expand Down