diff options
Diffstat (limited to 'tests/PHPUnit/Core/ReleaseCheckListTest.php')
-rw-r--r-- | tests/PHPUnit/Core/ReleaseCheckListTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PHPUnit/Core/ReleaseCheckListTest.php b/tests/PHPUnit/Core/ReleaseCheckListTest.php index cb53dde0dc..67dc9efe28 100644 --- a/tests/PHPUnit/Core/ReleaseCheckListTest.php +++ b/tests/PHPUnit/Core/ReleaseCheckListTest.php @@ -211,10 +211,10 @@ 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 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");; } } |