summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-27 22:33:14 +0100
committerLukas Reschke <lukas@owncloud.com>2014-10-27 22:33:14 +0100
commit7466ff09bb1b02de45b62a622ce51e4f680f2658 (patch)
tree6572b32b2161c458f6b80eda4c54123a18804e6a
parentd6380a53955e4de1a69e0a645821a7424e44135e (diff)
parentd0ce600eecb96361e1a8ebab853dc4dbadf7c1e2 (diff)
downloadnextcloud-server-7466ff09bb1b02de45b62a622ce51e4f680f2658.tar.gz
nextcloud-server-7466ff09bb1b02de45b62a622ce51e4f680f2658.zip
Merge pull request #11799 from owncloud/no-stable-etags-on-windows
On Windows platform we have no stable etag generation - yet
-rw-r--r--tests/lib/files/storage/local.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/lib/files/storage/local.php b/tests/lib/files/storage/local.php
index 8fd9f0648ad..37462941d0c 100644
--- a/tests/lib/files/storage/local.php
+++ b/tests/lib/files/storage/local.php
@@ -38,6 +38,10 @@ class Local extends Storage {
}
public function testStableEtag() {
+ if (\OC_Util::runningOnWindows()) {
+ $this->markTestSkipped('On Windows platform we have no stable etag generation - yet');
+ }
+
$this->instance->file_put_contents('test.txt', 'foobar');
$etag1 = $this->instance->getETag('test.txt');
$etag2 = $this->instance->getETag('test.txt');
@@ -45,6 +49,10 @@ class Local extends Storage {
}
public function testEtagChange() {
+ if (\OC_Util::runningOnWindows()) {
+ $this->markTestSkipped('On Windows platform we have no stable etag generation - yet');
+ }
+
$this->instance->file_put_contents('test.txt', 'foo');
$this->instance->touch('test.txt', time() - 2);
$etag1 = $this->instance->getETag('test.txt');