Skip to content
Extraits de code Groupes Projets
Valider ae2441f2 rédigé par mattab's avatar mattab
Parcourir les fichiers

Also allow 777

parent 3c2525ae
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -211,7 +211,7 @@ class ReleaseCheckListTest extends PHPUnit_Framework_TestCase
foreach($paths as $pathToTest) {
$chmod = substr(decoct(fileperms($pathToTest)), -3);
$valid = array('775', '755');
$valid = array('777', '775', '755');
$command = "find $pluginsPath -type d -exec chmod 755 {} +";
$this->assertTrue(in_array($chmod, $valid),
"Some directories within plugins/ are not chmod 755 \n\nGot: $chmod for : $pathToTest \n\n".
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter