aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-03-02 16:03:38 -0800
committerRich Trott <rtrott@gmail.com>2018-03-02 16:39:20 -0800
commit4bfc03b57dfbf6ac245b56c62b718ccd68e12cd7 (patch)
treea24a534a2c384c8583c68af54a370539f8b1fb38 /test
parentc05c73a634e3a88372e32e500f462851add7ea66 (diff)
downloadandroid-node-v8-4bfc03b57dfbf6ac245b56c62b718ccd68e12cd7.tar.gz
android-node-v8-4bfc03b57dfbf6ac245b56c62b718ccd68e12cd7.tar.bz2
android-node-v8-4bfc03b57dfbf6ac245b56c62b718ccd68e12cd7.zip
Revert "test: add test cases for fsPromises"
This reverts commit c05c73a634e3a88372e32e500f462851add7ea66. The commit breaks Raspberry Pi CI. PR-URL: https://github.com/nodejs/node/pull/19101 Ref: https://github.com/nodejs/node/pull/19064#issuecomment-370092633 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/parallel/test-fs-promises.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/parallel/test-fs-promises.js b/test/parallel/test-fs-promises.js
index 63a1803c0a..e24374602b 100644
--- a/test/parallel/test-fs-promises.js
+++ b/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());