Skip to content

Commit

Permalink
expect 755 instead of 777
Browse files Browse the repository at this point in the history
  • Loading branch information
James Hutchby committed May 1, 2017
1 parent 651d46e commit e84f11f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/pgdump.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ describe('pgdump', () => {

// eslint-disable-next-line no-bitwise
const permString = '0' + (stat.mode & 0o777).toString(8)
expect(permString).to.equal('0777')
if (permString !== '0777') {
expect(permString).to.equal('0755')
if (permString !== '0755') {
throw new Error('binary ' + binaryPath + ' is not executable')
}
})
Expand Down

0 comments on commit e84f11f

Please sign in to comment.