diff options
author | Zoe Slattery <zoe@php.net> | 2009-06-25 14:44:01 +0000 |
---|---|---|
committer | Zoe Slattery <zoe@php.net> | 2009-06-25 14:44:01 +0000 |
commit | b2bc4dd331104feac66a4dc2149d951c00ae1731 (patch) | |
tree | 705e01a4289a1ebd1bdd9c1d0f45d02bb5ad9ed5 | |
parent | 57b543ee6f8b06d42db4bbe3f42f6940afac305f (diff) | |
download | php-git-b2bc4dd331104feac66a4dc2149d951c00ae1731.tar.gz |
fix skipif
-rw-r--r-- | ext/date/tests/gmstrftime_variation22.phpt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/date/tests/gmstrftime_variation22.phpt b/ext/date/tests/gmstrftime_variation22.phpt index 3ae4c078b5..788433562e 100644 --- a/ext/date/tests/gmstrftime_variation22.phpt +++ b/ext/date/tests/gmstrftime_variation22.phpt @@ -5,6 +5,9 @@ Test gmstrftime() function : usage variation - Checking Preferred date and time 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 or en_US.utf8 is required to run this test"); +} ?> --FILE-- <?php |