Skip to content

Commit

Permalink
Fix chmod to make it work on MacOS as well.
Browse files Browse the repository at this point in the history
This should fix osixia#43.
  • Loading branch information
xueshanf authored May 23, 2017
1 parent 1bc98e6 commit 5d52900
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ load test_helper
run docker exec $CONTAINER_ID ldapsearch -x -h ldap.osixia.net -b dc=example,dc=org -ZZ -D "cn=admin,dc=example,dc=org" -w admin
clear_container

chmod 777 -R test/config/ test/database/ test/ssl/
chmod -R 777 test/config/ test/database/ test/ssl/

[ "$status" -eq 0 ]

Expand All @@ -50,7 +50,7 @@ load test_helper
run docker exec $CONTAINER_ID ldapsearch -x -h ldap.example.org -b dc=osixia,dc=net -D "cn=admin,dc=osixia,dc=net" -w admin
clear_container

chmod 777 -R test/config/ test/database/ test/ssl/
chmod -R 777 test/config/ test/database/ test/ssl/

[ "$status" -eq 0 ]

Expand Down

0 comments on commit 5d52900

Please sign in to comment.