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

Display chmod when test fails

parent 54ee4167
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -214,7 +214,7 @@ class ReleaseCheckListTest extends PHPUnit_Framework_TestCase
$valid = array('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 For example: $pathToTest \n\n".
"Some directories within plugins/ are not chmod 755 \n\nGot: $chmod for : $pathToTest \n\n".
"Run this command to set all directories to 755: \n$command\n");;
}
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter