]> granicus.if.org Git - php/commitdiff
- skip on win, runtime TZ via putenv is not supported with ext/date
authorPierre Joye <pajoye@php.net>
Tue, 13 Sep 2011 13:51:47 +0000 (13:51 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 13 Sep 2011 13:51:47 +0000 (13:51 +0000)
ext/date/tests/mktime-2.phpt

index aa259b577cab70ff04d7cffaf421f00a4ab7ad22..5ba6bd6c16151d61b6ad80c8573329d09f5ddb21 100644 (file)
@@ -1,5 +1,9 @@
 --TEST--
 mktime() [2]
+--SKIPIF--
+<?php
+if(defined('PHP_WINDOWS_VERSION_MAJOR')) die("skip mktime uses system TZ on Windows and putenv TZ is not supported on Windows at runtime");
+?>
 --INI--
 error_reporting=2047
 --FILE--