Skip to content

Commit 4bfc03b

Browse files
committed
Revert "test: add test cases for fsPromises"
This reverts commit c05c73a. The commit breaks Raspberry Pi CI. PR-URL: #19101 Ref: #19064 (comment) Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent c05c73a commit 4bfc03b

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

test/parallel/test-fs-promises.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ const fsPromises = require('fs/promises');
99
const {
1010
access,
1111
chmod,
12-
chown,
1312
copyFile,
1413
fchmod,
15-
fchown,
1614
fdatasync,
1715
fstat,
1816
fsync,
@@ -29,8 +27,6 @@ const {
2927
realpath,
3028
rename,
3129
rmdir,
32-
lchmod,
33-
lchown,
3430
stat,
3531
symlink,
3632
write,
@@ -99,21 +95,6 @@ function verifyStatObject(stat) {
9995

10096
await chmod(dest, 0o666);
10197
await fchmod(handle, 0o666);
102-
// lchmod is only available on OSX
103-
if (common.isOSX) {
104-
await lchmod(dest, 0o666);
105-
}
106-
107-
if (!common.isWindows) {
108-
const gid = process.getgid();
109-
const uid = process.getuid();
110-
await chown(dest, uid, gid);
111-
await fchown(handle, uid, gid);
112-
// lchown is only available on OSX
113-
if (common.isOSX) {
114-
await lchown(dest, uid, gid);
115-
}
116-
}
11798

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

0 commit comments

Comments
 (0)