From e84f11fe0bc7b58b317854649186b0b515fbf122 Mon Sep 17 00:00:00 2001 From: James Hutchby Date: Mon, 1 May 2017 15:51:30 +0100 Subject: [PATCH] expect 755 instead of 777 --- test/pgdump.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/pgdump.js b/test/pgdump.js index 7d41ec7..06db187 100644 --- a/test/pgdump.js +++ b/test/pgdump.js @@ -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') } })