Skip to content

Commit

Permalink
Fix tests final_2(final).docx
Browse files Browse the repository at this point in the history
  • Loading branch information
D4N14L committed Dec 7, 2023
1 parent aee30da commit 226a577
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions libraries/node-core-library/src/test/Executable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ describe('Executable process tests', () => {
path.join(executableFolder, 'success', 'bash-script.sh'),
PosixModeBits.AllRead | PosixModeBits.AllWrite | PosixModeBits.AllExecute
);
FileSystem.changePosixModeBits(
path.join(executableFolder, 'fail', 'npm-binary-wrapper'),
PosixModeBits.AllRead | PosixModeBits.AllWrite | PosixModeBits.AllExecute
);
FileSystem.changePosixModeBits(
path.join(executableFolder, 'fail', 'bash-script.sh'),
PosixModeBits.AllRead | PosixModeBits.AllWrite | PosixModeBits.AllExecute
);
}
});

Expand All @@ -93,6 +101,14 @@ describe('Executable process tests', () => {
path.join(executableFolder, 'success', 'bash-script.sh'),
PosixModeBits.AllRead | PosixModeBits.AllWrite
);
FileSystem.changePosixModeBits(
path.join(executableFolder, 'fail', 'npm-binary-wrapper'),
PosixModeBits.AllRead | PosixModeBits.AllWrite
);
FileSystem.changePosixModeBits(
path.join(executableFolder, 'fail', 'bash-script.sh'),
PosixModeBits.AllRead | PosixModeBits.AllWrite
);
}
});

Expand Down

0 comments on commit 226a577

Please sign in to comment.