com php-src: fix test with readline on mac: sapi/cli/tests/bug64529.phpt

From: Date: Sat, 29 Nov 2014 00:47:45 +0000
Subject: com php-src: fix test with readline on mac: sapi/cli/tests/bug64529.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-83378@lists.php.net to get a copy of this message
Commit: 108bf849674d772cbf9bfeb2e95072f40ab4c91d Author: Ferenc Kovacs <tyrael@php.net> Sat, 29 Nov 2014 01:47:45 +0100 Parents: 619adc9795f925531196c5b7e4797453130eac98 Branches: PHP-5.5 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=108bf849674d772cbf9bfeb2e95072f40ab4c91d Log: fix test with readline on mac Changed paths: M sapi/cli/tests/bug64529.phpt Diff: diff --git a/sapi/cli/tests/bug64529.phpt b/sapi/cli/tests/bug64529.phpt index d375572..8452953 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

« previous php.cvs (#83378) next »