Skip Test_Archive_TAR in php 5.5 for now
This commit is contained in:
parent
6fcee1ee11
commit
7f3ddd4341
|
@ -10,6 +10,12 @@ require_once 'archive.php';
|
||||||
|
|
||||||
if (!OC_Util::runningOnWindows()) {
|
if (!OC_Util::runningOnWindows()) {
|
||||||
class Test_Archive_TAR extends Test_Archive {
|
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() {
|
protected function getExisting() {
|
||||||
$dir = OC::$SERVERROOT . '/tests/data';
|
$dir = OC::$SERVERROOT . '/tests/data';
|
||||||
return new OC_Archive_TAR($dir . '/data.tar.gz');
|
return new OC_Archive_TAR($dir . '/data.tar.gz');
|
||||||
|
|
Loading…
Reference in New Issue