Commit: 430c987716d32c4a509e6504a5a3ac3a8b0d0bbd Author: Nikita Popov <ni...@php.net> Sat, 23 Mar 2013 21:05:29 +0100 Parents: c2893ab592f09dd50cfcbd0c499987d93146d18b Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=430c987716d32c4a509e6504a5a3ac3a8b0d0bbd Log: Skip locale dependent test if locale not available Changed paths: M ext/pgsql/tests/bug46408.phpt Diff: diff --git a/ext/pgsql/tests/bug46408.phpt b/ext/pgsql/tests/bug46408.phpt index 8c72ba5..bf84290 100644 --- a/ext/pgsql/tests/bug46408.phpt +++ b/ext/pgsql/tests/bug46408.phpt @@ -3,6 +3,9 @@ Bug #46408 (Locale number format settings can cause pg_query_params to break wit --SKIPIF-- <?php require_once('skipif.inc'); +if (false === setlocale(LC_ALL, 'hr_HR.utf-8', 'hr_HR')) { + echo "skip Locale hr_HR.utf-8 not present"; +} ?> --FILE-- <?php -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php