Skip to content

Commit d86b7fb

Browse files
authored
Correct tests failing in master (#552)
* Executable permissions should be 755 not 775 to be saved properly in zip file.
1 parent 6059280 commit d86b7fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ test(
11011101
async t => {
11021102
process.chdir('tests/base');
11031103
const path = npm(['pack', '../..']);
1104-
const perm = '775';
1104+
const perm = '755';
11051105

11061106
npm(['i', path]);
11071107
perl([
@@ -1895,7 +1895,7 @@ test(
18951895
async t => {
18961896
process.chdir('tests/individually');
18971897
const path = npm(['pack', '../..']);
1898-
const perm = '775';
1898+
const perm = '755';
18991899
writeFileSync(`module1${sep}foobar`, '');
19001900
chmodSync(`module1${sep}foobar`, perm);
19011901

@@ -1934,7 +1934,7 @@ test(
19341934
async t => {
19351935
process.chdir('tests/individually');
19361936
const path = npm(['pack', '../..']);
1937-
const perm = '775';
1937+
const perm = '755';
19381938
writeFileSync(`module1${sep}foobar`, '', { mode: perm });
19391939
chmodSync(`module1${sep}foobar`, perm);
19401940

0 commit comments

Comments
 (0)