bjori Mon, 05 Sep 2011 10:30:41 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=316142
Log: Fix test, one skipif is enough Changed paths: U php/php-src/branches/PHP_5_3/ext/date/tests/bug13142.phpt U php/php-src/branches/PHP_5_4/ext/date/tests/bug13142.phpt U php/php-src/trunk/ext/date/tests/bug13142.phpt Modified: php/php-src/branches/PHP_5_3/ext/date/tests/bug13142.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/date/tests/bug13142.phpt 2011-09-05 10:29:12 UTC (rev 316141) +++ php/php-src/branches/PHP_5_3/ext/date/tests/bug13142.phpt 2011-09-05 10:30:41 UTC (rev 316142) @@ -7,8 +7,6 @@ if (defined('PHP_WINDOWS_VERSION_MAJOR')) { die("skip. set TZ env is not supported at runtime."); } ---SKIPIF-- -<?php if (!@putenv("TZ=US/Eastern") || getenv("TZ") != 'US/Eastern') { die("skip unable to change TZ enviroment variable\n"); } Modified: php/php-src/branches/PHP_5_4/ext/date/tests/bug13142.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/date/tests/bug13142.phpt 2011-09-05 10:29:12 UTC (rev 316141) +++ php/php-src/branches/PHP_5_4/ext/date/tests/bug13142.phpt 2011-09-05 10:30:41 UTC (rev 316142) @@ -7,8 +7,6 @@ if (defined('PHP_WINDOWS_VERSION_MAJOR')) { die("skip. set TZ env is not supported at runtime."); } ---SKIPIF-- -<?php if (!@putenv("TZ=US/Eastern") || getenv("TZ") != 'US/Eastern') { die("skip unable to change TZ enviroment variable\n"); } Modified: php/php-src/trunk/ext/date/tests/bug13142.phpt =================================================================== --- php/php-src/trunk/ext/date/tests/bug13142.phpt 2011-09-05 10:29:12 UTC (rev 316141) +++ php/php-src/trunk/ext/date/tests/bug13142.phpt 2011-09-05 10:30:41 UTC (rev 316142) @@ -7,8 +7,6 @@ if (defined('PHP_WINDOWS_VERSION_MAJOR')) { die("skip. set TZ env is not supported at runtime."); } ---SKIPIF-- -<?php if (!@putenv("TZ=US/Eastern") || getenv("TZ") != 'US/Eastern') { die("skip unable to change TZ enviroment variable\n"); }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php