Fix Tar support for php >=5.5

remotes/origin/fix-10825
Robin Appelman 10 years ago
parent 79fa2bc391
commit 482bca1713
  1. 2
      3rdparty
  2. 6
      tests/lib/archive/tar.php

@ -1 +1 @@
Subproject commit 3f2b62ec137082cc435bd358f9632139c1039b08
Subproject commit 57245d2a64c99aab8a438f909988e7a4ffef5b23

@ -10,12 +10,6 @@ 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');

Loading…
Cancel
Save