diff options
author | Anatol Belski <ab@php.net> | 2018-09-10 09:48:18 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-09-10 09:51:36 +0200 |
commit | 27b270de896be6dbe3ce70866421d704cbee4c6f (patch) | |
tree | 0d58513d91bc524511059b7d4c49bf656c69478f | |
parent | af38a991ffad0a4a19704d53f422bbef7b693ba5 (diff) | |
download | php-git-27b270de896be6dbe3ce70866421d704cbee4c6f.tar.gz |
Skip test on unsuitable env
-rw-r--r-- | ext/pcre/tests/bug76850.phpt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/pcre/tests/bug76850.phpt b/ext/pcre/tests/bug76850.phpt index ec06ccf897..89a64f9f78 100644 --- a/ext/pcre/tests/bug76850.phpt +++ b/ext/pcre/tests/bug76850.phpt @@ -1,5 +1,12 @@ --TEST-- Bug #76850 Exit code mangled by set locale/preg_match +--SKIPIF-- +<?php + $l = setlocale(LC_CTYPE, 0); + if ("C" == $l) { + die("skip need the current locale to be other than C"); + } +?> --FILE-- <?php |