Skip to content

Commit 4316fb4

Browse files
authored
Merge pull request #19 from usabilla/fix-exec-test
Fix test for script being executable
2 parents d289da8 + 6592ebc commit 4316fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/testinfra/test_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ def test_healthcheck_script_is_executable(host):
1010
scriptFile = host.check_output("which php-fpm-healthcheck")
1111

1212
assert host.file(scriptFile).exists is True
13-
assert host.file(scriptFile).mode == 0o775
13+
assert host.file(scriptFile).mode & 0o111 == 0o111

0 commit comments

Comments
 (0)