Skip to content

Commit 719083b

Browse files
committed
Merge branch 'PHP-5.6'
* PHP-5.6: fix test with readline on mac
2 parents 8297986 + 7e4b77c commit 719083b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

sapi/cli/tests/bug64529.phpt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (extension_loaded("readline")) {
2121
2222
set php_executable [lindex \$argv 0]
2323
24-
spawn \$php_executable -n -a
24+
spawn \$php_executable -n -d cli.prompt="" -a
2525
2626
expect "php >"
2727
@@ -39,7 +39,7 @@ SCRIPT;
3939
4040
set php_executable [lindex \$argv 0]
4141
42-
spawn \$php_executable -n -a
42+
spawn \$php_executable -n -d cli.prompt="" -a
4343
4444
expect "Interactive mode enabled"
4545
@@ -60,8 +60,8 @@ system($expect_executable . " " . $script . " " . $php_executable);
6060
@unlink($script);
6161
?>
6262
--EXPECTF--
63-
spawn %sphp -n -a
63+
spawn %sphp -n -d cli.prompt="" -a
6464
Interactive %s
6565

66-
%secho 'hello world';
67-
%sello worl%s
66+
%Secho 'hello world';
67+
%Shello world

0 commit comments

Comments
 (0)