[Pkg-owncloud-commits] [owncloud] 26/74: Windows does not support CHMOD, therefor we can not test not writable folders
David Prévot
taffit at moszumanska.debian.org
Tue Dec 2 22:04:35 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit ce79974888c3b33b757ca8b8ab4ce5619acf00f9
Author: Joas Schilling <nickvergessen at gmx.de>
Date: Wed Nov 5 16:47:27 2014 +0100
Windows does not support CHMOD, therefor we can not test not writable folders
Conflicts:
tests/lib/tempmanager.php
---
tests/lib/utilcheckserver.php | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/lib/utilcheckserver.php b/tests/lib/utilcheckserver.php
index be5596c..73a1d0e 100644
--- a/tests/lib/utilcheckserver.php
+++ b/tests/lib/utilcheckserver.php
@@ -138,6 +138,10 @@ class Test_Util_CheckServer extends PHPUnit_Framework_TestCase {
* Tests an error is given when the datadir is not writable
*/
public function testDataDirNotWritable() {
+ if (\OC_Util::runningOnWindows()) {
+ $this->markTestSkipped('[Windows] chmod() does not work as intended on Windows.');
+ }
+
chmod($this->datadir, 0300);
$result = \OC_Util::checkServer($this->getConfig(array(
'installed' => true,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list