瀏覽代碼

Fix chmod to make it work on MacOS as well.

This should fix #43.
Xueshan Feng 8 年之前
父節點
當前提交
5d52900185
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      test/test.bats

+ 2 - 2
test/test.bats

@@ -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 ]
 
@@ -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 ]