Permalink
Browse files

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>
  • Loading branch information...
Trott committed Mar 3, 2018
1 parent c05c73a commit 4bfc03b57dfbf6ac245b56c62b718ccd68e12cd7
Showing with 0 additions and 19 deletions.
  1. +0 −19 test/parallel/test-fs-promises.js
@@ -9,10 +9,8 @@ const fsPromises = require('fs/promises');
const {
access,
chmod,
chown,
copyFile,
fchmod,
fchown,
fdatasync,
fstat,
fsync,
@@ -29,8 +27,6 @@ const {
realpath,
rename,
rmdir,
lchmod,
lchown,
stat,
symlink,
write,
@@ -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());

0 comments on commit 4bfc03b

Please sign in to comment.