aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-11-05 16:47:27 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-11-19 10:06:07 +0100
commitce79974888c3b33b757ca8b8ab4ce5619acf00f9 (patch)
tree5416264d26e5fdd9c54c0f209231f5c719a30b82
parent060a40ad43ab366e8eb165ee5f6b99e8888df6ac (diff)
downloadnextcloud-server-ce79974888c3b33b757ca8b8ab4ce5619acf00f9.tar.gz
nextcloud-server-ce79974888c3b33b757ca8b8ab4ce5619acf00f9.zip
Windows does not support CHMOD, therefor we can not test not writable folders
Conflicts: tests/lib/tempmanager.php
-rw-r--r--tests/lib/utilcheckserver.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/utilcheckserver.php b/tests/lib/utilcheckserver.php
index be5596c1900..73a1d0e95a6 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,