aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-11-10 11:01:43 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-11-17 10:48:06 +0100
commita3a064fe967865fe2df37944ecb3447cf91bfb7a (patch)
treec093ec2e8fd7e526621a30faaa821498fc5d026a /apps/files_encryption
parenta9c2e5a08e4a909a94f441c96a3ea000e9420ca3 (diff)
downloadnextcloud-server-a3a064fe967865fe2df37944ecb3447cf91bfb7a.tar.gz
nextcloud-server-a3a064fe967865fe2df37944ecb3447cf91bfb7a.zip
Skip some more tests on Windows which just can not work at all
Diffstat (limited to 'apps/files_encryption')
-rw-r--r--apps/files_encryption/tests/stream.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/files_encryption/tests/stream.php b/apps/files_encryption/tests/stream.php
index 2b57f11c680..c3f777df859 100644
--- a/apps/files_encryption/tests/stream.php
+++ b/apps/files_encryption/tests/stream.php
@@ -134,6 +134,13 @@ class Test_Encryption_Stream extends \PHPUnit_Framework_TestCase {
$handle = $view->fopen($filename, 'r');
+
+ if (\OC_Util::runningOnWindows()) {
+ fclose($handle);
+ $view->unlink($filename);
+ $this->markTestSkipped('[Windows] stream_set_blocking() does not work as expected on Windows.');
+ }
+
// set stream options
$this->assertTrue(stream_set_blocking($handle, 1));