]> source.dussan.org Git - nextcloud-server.git/commitdiff
Windows does not support CHMOD, therefor we can not test not writable folders
authorJoas Schilling <nickvergessen@gmx.de>
Wed, 5 Nov 2014 15:47:27 +0000 (16:47 +0100)
committerJoas Schilling <nickvergessen@gmx.de>
Wed, 19 Nov 2014 09:06:07 +0000 (10:06 +0100)
Conflicts:
tests/lib/tempmanager.php

tests/lib/utilcheckserver.php

index be5596c1900a0b6ab433c80dffb7b9a0938b768f..73a1d0e95a6d3dbb0e25e363b8cad655c0fa5928 100644 (file)
@@ -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,