diff options
Diffstat (limited to 'ext/gettext')
-rw-r--r-- | ext/gettext/tests/gettext_basic.phpt | 9 |
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$ |