summaryrefslogtreecommitdiff
path: root/sapi/cli/tests
diff options
context:
space:
mode:
authorFerenc Kovacs <tyrael@php.net>2014-11-29 01:49:40 +0100
committerFerenc Kovacs <tyrael@php.net>2014-11-29 01:49:40 +0100
commit719083bd943e6c287c2dcb47918cf51f89a4ac08 (patch)
tree2102baedf70af492f53a05483e6cc6f4bde2b705 /sapi/cli/tests
parent82979862ba67fcc3f26c98f9712f6b9c9188ad02 (diff)
parent7e4b77c921fa669138c01dfe334472ce1343621f (diff)
downloadphp-git-719083bd943e6c287c2dcb47918cf51f89a4ac08.tar.gz
Merge branch 'PHP-5.6'
* PHP-5.6: fix test with readline on mac
Diffstat (limited to 'sapi/cli/tests')
-rw-r--r--sapi/cli/tests/bug64529.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/sapi/cli/tests/bug64529.phpt b/sapi/cli/tests/bug64529.phpt
index d3755724e8..8452953baf 100644
--- a/sapi/cli/tests/bug64529.phpt
+++ b/sapi/cli/tests/bug64529.phpt
@@ -21,7 +21,7 @@ if (extension_loaded("readline")) {
set php_executable [lindex \$argv 0]
-spawn \$php_executable -n -a
+spawn \$php_executable -n -d cli.prompt="" -a
expect "php >"
@@ -39,7 +39,7 @@ SCRIPT;
set php_executable [lindex \$argv 0]
-spawn \$php_executable -n -a
+spawn \$php_executable -n -d cli.prompt="" -a
expect "Interactive mode enabled"
@@ -60,8 +60,8 @@ system($expect_executable . " " . $script . " " . $php_executable);
@unlink($script);
?>
--EXPECTF--
-spawn %sphp -n -a
+spawn %sphp -n -d cli.prompt="" -a
Interactive %s
-%secho 'hello world';
-%sello worl%s
+%Secho 'hello world';
+%Shello world