diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-06-24 22:38:05 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-06-28 11:30:47 +0200 |
commit | 7f3ddd43411c9b5b1b26d42751a6dbe416ab5499 (patch) | |
tree | b19961d4d4eb2690324236932796e4a103d09f04 /tests/lib/archive/tar.php | |
parent | 6fcee1ee117a167aa0c526ca39effbf086d10991 (diff) | |
download | nextcloud-server-7f3ddd43411c9b5b1b26d42751a6dbe416ab5499.tar.gz nextcloud-server-7f3ddd43411c9b5b1b26d42751a6dbe416ab5499.zip |
Skip Test_Archive_TAR in php 5.5 for now
Diffstat (limited to 'tests/lib/archive/tar.php')
-rw-r--r-- | tests/lib/archive/tar.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lib/archive/tar.php b/tests/lib/archive/tar.php index e66a8740879..d831487b16f 100644 --- a/tests/lib/archive/tar.php +++ b/tests/lib/archive/tar.php @@ -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'); |