]> granicus.if.org Git - php/commitdiff
improve skipif
authorAnatol Belski <ab@php.net>
Thu, 1 Dec 2016 12:32:10 +0000 (13:32 +0100)
committerAnatol Belski <ab@php.net>
Thu, 1 Dec 2016 12:32:10 +0000 (13:32 +0100)
ext/standard/tests/strings/bug65769.phpt

index 23eeda9fd1b35f8cd97f0e0481ea7a41876b79be..1a81d487c9da79e4744494ff00779bfa5b52fb31 100644 (file)
@@ -5,6 +5,9 @@ Bug #65769 localeconv() broken in TS builds
 if (substr(PHP_OS, 0, 3) != 'WIN') {
     die('skip Windows only');
 }
+if (PHP_WINDOWS_VERSION_MAJOR < 10) {
+       die("skip for Windows 10 and above");
+}
 ?>
 --FILE--
 <?php