svn: /php/php-src/ branches/PHP_5_3/ext/date/tests/bug27780.phpt branches/PHP_5_4/ext/date/tests/bug27780.phpt trunk/ext/date/tests/bug27780.phpt

From: Date: Sun, 04 Sep 2011 21:59:27 +0000
Subject: svn: /php/php-src/ branches/PHP_5_3/ext/date/tests/bug27780.phpt branches/PHP_5_4/ext/date/tests/bug27780.phpt trunk/ext/date/tests/bug27780.phpt
Groups: php.cvs 
Request: Send a blank email to [email protected] to get a copy of this message
pajoye                                   Sun, 04 Sep 2011 21:59:27 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=316117

Log:
- skip on win, TZs differ with strftime

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/date/tests/bug27780.phpt
    U   php/php-src/branches/PHP_5_4/ext/date/tests/bug27780.phpt
    U   php/php-src/trunk/ext/date/tests/bug27780.phpt

Modified: php/php-src/branches/PHP_5_3/ext/date/tests/bug27780.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/date/tests/bug27780.phpt	2011-09-04 21:48:22 UTC (rev 316116)
+++ php/php-src/branches/PHP_5_3/ext/date/tests/bug27780.phpt	2011-09-04 21:59:27 UTC (rev 316117)
@@ -1,5 +1,10 @@
 --TEST--
 Bug #27780 (strtotime(+1 xxx) returns a wrong date/time)
+--SKIPIF--
+<?php
+if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
+	die("skip. Not the same TZ on windows.");
+}
 --FILE--
 <?php
 $timezones = array (

Modified: php/php-src/branches/PHP_5_4/ext/date/tests/bug27780.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/date/tests/bug27780.phpt	2011-09-04 21:48:22 UTC (rev 316116)
+++ php/php-src/branches/PHP_5_4/ext/date/tests/bug27780.phpt	2011-09-04 21:59:27 UTC (rev 316117)
@@ -1,5 +1,10 @@
 --TEST--
 Bug #27780 (strtotime(+1 xxx) returns a wrong date/time)
+--SKIPIF--
+<?php
+if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
+	die("skip. Not the same TZ on windows.");
+}
 --FILE--
 <?php
 $timezones = array (

Modified: php/php-src/trunk/ext/date/tests/bug27780.phpt
===================================================================
--- php/php-src/trunk/ext/date/tests/bug27780.phpt	2011-09-04 21:48:22 UTC (rev 316116)
+++ php/php-src/trunk/ext/date/tests/bug27780.phpt	2011-09-04 21:59:27 UTC (rev 316117)
@@ -1,5 +1,10 @@
 --TEST--
 Bug #27780 (strtotime(+1 xxx) returns a wrong date/time)
+--SKIPIF--
+<?php
+if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
+	die("skip. Not the same TZ on windows.");
+}
 --FILE--
 <?php
 $timezones = array (


Thread (1 message)

  • Pierre Joye
« previous php.cvs (#66183) next »