zoe             Thu Jun 25 12:36:46 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/date/tests     strftime_variation22.phpt 
  Log:
  fix skipif
  
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/strftime_variation22.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/date/tests/strftime_variation22.phpt
diff -u php-src/ext/date/tests/strftime_variation22.phpt:1.1.2.3 
php-src/ext/date/tests/strftime_variation22.phpt:1.1.2.4
--- php-src/ext/date/tests/strftime_variation22.phpt:1.1.2.3    Tue Jan 27 
14:22:17 2009
+++ php-src/ext/date/tests/strftime_variation22.phpt    Thu Jun 25 12:36:46 2009
@@ -5,6 +5,9 @@
 if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') {
     die("skip Test is not valid for Windows");
 }
+if(!setlocale(LC_ALL, "en_US.utf8", "en_US")) {
+       die("skip Locale en_US.utf8 or en_US is  needed by test and is not 
available");
+}
 ?>
 --FILE--
 <?php



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to