From d0ce600eecb96361e1a8ebab853dc4dbadf7c1e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Mon, 27 Oct 2014 20:48:47 +0100 Subject: [PATCH] On Windows platform we have no stable etag generation - yet --- tests/lib/files/storage/local.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/lib/files/storage/local.php b/tests/lib/files/storage/local.php index 8fd9f0648a..37462941d0 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');