We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a86dcf8 commit 526f512Copy full SHA for 526f512
test/archiver.js
@@ -27,6 +27,7 @@ describe('archiver', function() {
27
28
if (!win32) {
29
fs.chmodSync('test/fixtures/executable.sh', 0777);
30
+ fs.chmodSync('test/fixtures/directory/subdir/', 0755);
31
}
32
});
33
@@ -256,6 +257,10 @@ describe('archiver', function() {
256
257
assert.property(entries, 'level0.txt');
258
assert.propertyVal(entries['level0.txt'], 'prop', 'value');
259
260
+
261
+ it('should retain directory permissions', function() {
262
+ assert.propertyVal(entries['subdir/'], 'mode', win32 ? 438 : 493);
263
+ });
264
265
266
0 commit comments