]> source.dussan.org Git - nextcloud-server.git/commitdiff
Skip Test_Archive_TAR in php 5.5 for now
authorBart Visscher <bartv@thisnet.nl>
Mon, 24 Jun 2013 20:38:05 +0000 (22:38 +0200)
committerBart Visscher <bartv@thisnet.nl>
Fri, 28 Jun 2013 09:30:47 +0000 (11:30 +0200)
tests/lib/archive/tar.php

index e66a87408790590fccaeff81f8b6d95efbf01e04..d831487b16fae3e83e1992717a7687a7d040ba28 100644 (file)
@@ -10,6 +10,12 @@ require_once 'archive.php';
 
 if (!OC_Util::runningOnWindows()) {
 class Test_Archive_TAR extends Test_Archive {
+       public function setUp() {
+               if (floatval(phpversion())>=5.5) {
+                       $this->markTestSkipped('php 5.5 changed unpack function.');
+                       return;
+               }
+       }
        protected function getExisting() {
                $dir = OC::$SERVERROOT . '/tests/data';
                return new OC_Archive_TAR($dir . '/data.tar.gz');