[php-mikey179-vfsstream/el6] ignore 1 more test with php 5.3

Remi Collet remi at fedoraproject.org
Tue Jul 22 12:47:31 UTC 2014


commit 14a20d856d27759ecd13852c4350974d5be588f4
Author: Remi Collet <remi at fedoraproject.org>
Date:   Tue Jul 22 14:47:21 2014 +0200

    ignore 1 more test with php 5.3

 php-mikey179-vfsstream-test.patch |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/php-mikey179-vfsstream-test.patch b/php-mikey179-vfsstream-test.patch
index db559e9..38591ad 100644
--- a/php-mikey179-vfsstream-test.patch
+++ b/php-mikey179-vfsstream-test.patch
@@ -11,3 +11,16 @@ diff -up src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php.orig src/test/
          $this->assertFalse(is_executable($this->baz1URL));
          $this->baz1->chmod(0766);
          $this->assertTrue(is_executable($this->baz1URL));
+diff -up src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php.orig src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php
+--- src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php.orig	2014-07-22 14:46:01.352140001 +0200
++++ src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php	2014-07-22 14:46:21.902807651 +0200
+@@ -232,6 +232,9 @@ class DirectoryIterationTestCase extends
+      */
+     public function recursiveDirectoryIterationWithDotsEnabled()
+     {
++        if (version_compare(PHP_VERSION, '5.4.0', '<')) {
++            $this->markTestSkipped('Requires PHP 5.4');
++        }
+         vfsStream::enableDotfiles();
+         vfsStream::setup();
+         $structure = array(


More information about the scm-commits mailing list