Skip to content

Commit

Permalink
test: stop allowing windows permission to vary.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctalkington committed Sep 10, 2015
1 parent 13baccb commit a7b82f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/archiver.js
Expand Up @@ -288,7 +288,7 @@ describe('archiver', function() {
});

it('should retain directory permissions', function() {
assert.propertyVal(entries['subdir/'], 'mode', win32 ? 438 : 493);
assert.propertyVal(entries['subdir/'], 'mode', 493);
});
});
});
Expand Down
4 changes: 2 additions & 2 deletions test/plugins.js
Expand Up @@ -151,8 +151,8 @@ describe('plugins', function() {
assert.propertyVal(entries['executable.sh'], 'externalFileAttributes', 2180972576);
assert.equal((entries['executable.sh'].externalFileAttributes >>> 16) & 0xFFF, 511);

assert.propertyVal(entries['directory/subdir/'], 'externalFileAttributes', win32 ? 1102446608 : 1106051088);
assert.equal((entries['directory/subdir/'].externalFileAttributes >>> 16) & 0xFFF, win32 ? 438 : 493);
assert.propertyVal(entries['directory/subdir/'], 'externalFileAttributes', 1106051088);
assert.equal((entries['directory/subdir/'].externalFileAttributes >>> 16) & 0xFFF, 493);
});

it('should allow for entry comments', function() {
Expand Down

0 comments on commit a7b82f7

Please sign in to comment.