From: =?utf-8?q?Bastien_Roucari=C3=A8s?= Date: Fri, 16 Aug 2024 13:55:17 +0000 Subject: Test fail under root forwarded: not-needed --- test/dest.js | 7 ++++--- test/symlink.js | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/test/dest.js b/test/dest.js index c0111a9..e6ff0f2 100644 --- a/test/dest.js +++ b/test/dest.js @@ -431,7 +431,7 @@ describe('.dest()', function() { concat(assert), ], done); }); - +/* it('reports i/o errors', function(done) { var file = new File({ base: inputBase, @@ -453,7 +453,7 @@ describe('.dest()', function() { vfs.dest(outputBase), ], assert); }); - +*/ it('reports stat errors', function(done) { var expectedMode = applyUmask('722'); @@ -876,7 +876,7 @@ describe('.dest()', function() { vfs.dest(outputBase), ], assert); }); - +/* it('errors if we cannot mkdirp', function(done) { var file = new File({ base: inputBase, @@ -894,6 +894,7 @@ describe('.dest()', function() { vfs.dest('/nonexistant/nonexistant/'+outputBase), ], assert); }); +*/ /* it('errors if vinyl object is a directory and we cannot mkdirp', function(done) { var ogMkdir = fs.mkdir; diff --git a/test/symlink.js b/test/symlink.js index e98b839..2b518dd 100644 --- a/test/symlink.js +++ b/test/symlink.js @@ -554,7 +554,7 @@ describe('symlink stream', function() { concat(assert), ], done); }); - +/* it('reports IO errors', function(done) { // Changing the mode of a file is not supported by node.js in Windows. // This test is skipped on Windows because we have to chmod the file to 0. @@ -582,7 +582,7 @@ describe('symlink stream', function() { vfs.symlink(outputDirpath), ], assert); }); - +*/ it('does not overwrite links with overwrite option set to false', function(done) { var existingContents = 'Lorem Ipsum';