mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: fix file path in permission symlink test
PR-URL: https://github.com/nodejs/node/pull/46859 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
This commit is contained in:
@@ -53,9 +53,7 @@ fs.writeFileSync(path.join(readWriteFolder, 'file'), 'NO evil file contents');
|
||||
}));
|
||||
|
||||
// App will be able to write to the symlink
|
||||
fs.writeFile('file', 'some content', (err) => {
|
||||
assert.ifError(err);
|
||||
});
|
||||
fs.writeFile(path.join(writeOnlyFolder, 'link-to-read-write'), 'some content', common.mustSucceed());
|
||||
});
|
||||
|
||||
// App won't be able to symlink to a readOnlyFolder
|
||||
|
||||
Reference in New Issue
Block a user