com php-src: extend skipif: sapi/cli/tests/017.phpt
| From: | Anatol Belski | Date: | Fri, 18 Nov 2016 01:23:17 +0000 |
| Subject: | com php-src: extend skipif: sapi/cli/tests/017.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95858@lists.php.net to get a copy of this message | ||
Commit: b2b63ce993f71ccb66e0cbac5715c3186a853f8c
Author: Anatol Belski <ab@php.net> Fri, 18 Nov 2016 02:23:17 +0100
Parents: 8806c54b00c99d9af64f475f58967f8c7bac90e2
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b2b63ce993f71ccb66e0cbac5715c3186a853f8c
Log:
extend skipif
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.
Changed paths:
M sapi/cli/tests/017.phpt
Diff:
diff --git a/sapi/cli/tests/017.phpt b/sapi/cli/tests/017.phpt
index efaf977..dbddb28 100644
--- a/sapi/cli/tests/017.phpt
+++ b/sapi/cli/tests/017.phpt
@@ -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