]> granicus.if.org Git - php/commitdiff
extend skipif
authorAnatol Belski <ab@php.net>
Fri, 18 Nov 2016 01:23:17 +0000 (02:23 +0100)
committerAnatol Belski <ab@php.net>
Fri, 18 Nov 2016 01:23:17 +0000 (02:23 +0100)
This test won't pass on Windows. The main reason is that the multiline
input is not really possible to create on cmd. But also, because of the
single quotes. And without multiline data piping, it doesn't make sense.

sapi/cli/tests/017.phpt

index efaf977db447f76e3305bd893840bef10b49b024..dbddb283a43e67979df5863dd6bf1cc07fa7a003 100644 (file)
@@ -6,6 +6,9 @@ include "skipif.inc";
 if (!extension_loaded('readline') || readline_info('done') !== NULL) {
        die ("skip need readline support using libedit");
 }
+if(substr(PHP_OS, 0, 3) == 'WIN' ) {
+    die('skip not for Windows');
+}
 ?>
 --FILE--
 <?php