cvs: php4(PHP_4_3) /ext/standard/tests/time 002.phpt

From: Date: Sun, 09 Feb 2003 12:07:42 +0000
Subject: cvs: php4(PHP_4_3) /ext/standard/tests/time 002.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-18523@lists.php.net to get a copy of this message
k.schroeder Sun Feb 9 07:07:42 2003 EDT Modified files: (Branch: PHP_4_3) /php4/ext/standard/tests/time 002.phpt Log: skip for Windows (does not support dates prior to midnight, January 1, 1970) Index: php4/ext/standard/tests/time/002.phpt diff -u php4/ext/standard/tests/time/002.phpt:1.4 php4/ext/standard/tests/time/002.phpt:1.4.2.1 --- php4/ext/standard/tests/time/002.phpt:1.4 Tue Oct 29 10:36:47 2002 +++ php4/ext/standard/tests/time/002.phpt Sun Feb 9 07:07:42 2003 @@ -2,6 +2,9 @@ strtotime() function --SKIPIF-- <?php +if (substr(PHP_OS, 0, 3) == 'WIN') { + print 'skip Windows does not support dates prior to midnight (00:00:00), January 1, 1970'; +} if (!@putenv("TZ=Europe/Amsterdam") || getenv("TZ") != 'Europe/Amsterdam') { die("skip unable to change TZ enviroment variable\n"); }

« previous php.cvs (#18523) next »