Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » PHP
  • » [PATCH] Fix two broken tests [RSS Feed]

#1 Dec. 27, 2010 22:42:33

Cristian R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PATCH] Fix two broken tests


Signed-off-by: Cristian Rodríguez <cristian.rodrig***@*pensuse.org>
---
ext/date/tests/bug51819.phpt | 1 +
ext/phar/tests/bug52013.phpt | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)diff --git a/ext/date/tests/bug51819.phpt b/ext/date/tests/bug51819.phpt
index afcb9c7..7e9bbec 100644
--- a/ext/date/tests/bug51819.phpt
+++ b/ext/date/tests/bug51819.phpt
@@ -2,6 +2,7 @@
Bug #51819 (Case discrepancy in timezone names cause Uncaught exception and fatal error)
--FILE--
<?php
+date_default_timezone_set('UTC');
$aTzAbbr = timezone_abbreviations_list();

$aTz = array();
diff --git a/ext/phar/tests/bug52013.phpt b/ext/phar/tests/bug52013.phpt
index f4635a4..04a7189 100644
--- a/ext/phar/tests/bug52013.phpt
+++ b/ext/phar/tests/bug52013.phpt
@@ -6,7 +6,7 @@http://bugs.php.net/bug.php?id=52013--CREDITS--
Frederic Hardy frederic.ha***@*ageekbox.net
--SKIPIF--
-<?php if (!extension_loaded("phar")) die("skip"); ?>
+<?php if (!extension_loaded("phar") || !extension_loaded("zlib")) die("skip"); ?>
--INI--
phar.require_hash=0
phar.readonly=0--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

  • Root
  • » PHP
  • » [PATCH] Fix two broken tests [RSS Feed]

Board footer

Moderator control

Enjoy the 11th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support