Fix Tar support for php >=5.5

This commit is contained in:
Robin Appelman 2014-08-11 14:20:57 +02:00
parent 79fa2bc391
commit 482bca1713
2 changed files with 1 additions and 7 deletions

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

View File

@ -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');