summaryrefslogtreecommitdiff
path: root/ext/gettext
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gettext')
-rw-r--r--ext/gettext/tests/gettext_basic.phpt9
1 files changed, 8 insertions, 1 deletions
diff --git a/ext/gettext/tests/gettext_basic.phpt b/ext/gettext/tests/gettext_basic.phpt
index 734cc814ad..441ca57a83 100644
--- a/ext/gettext/tests/gettext_basic.phpt
+++ b/ext/gettext/tests/gettext_basic.phpt
@@ -1,7 +1,14 @@
--TEST--
Gettext basic test
--SKIPIF--
-<?php if (!extension_loaded("gettext")) print "skip"; ?>
+<?php
+ if (!extension_loaded("gettext")) {
+ die("skip\n");
+ }
+ if (!setlocale(LC_ALL, 'fi_FI')) {
+ die("skip fi_FI locale not supported.");
+ }
+?>
--FILE--
<?php // $Id$