[Pkg-owncloud-commits] [owncloud] 05/16: Also skip tar tests on stable 5 when running php >=5.5

David Prévot taffit at moszumanska.debian.org
Wed Mar 11 15:49:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v5.0.19
in repository owncloud.

commit 68bd43f7a25b2c7bbd67772c78fe393f00e4ab93
Author: Robin Appelman <icewind at owncloud.com>
Date:   Thu Sep 18 17:53:10 2014 +0200

    Also skip tar tests on stable 5 when running php >=5.5
---
 tests/lib/archive/tar.php | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tests/lib/archive/tar.php b/tests/lib/archive/tar.php
index e66a874..614bef6 100644
--- a/tests/lib/archive/tar.php
+++ b/tests/lib/archive/tar.php
@@ -10,6 +10,13 @@ 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');

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list