diff options
author | Nuno Lopes <nlopess@php.net> | 2008-07-06 16:38:18 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2008-07-06 16:38:18 +0000 |
commit | 504fe5eedb091b2c20f4a01043b7395636a4178d (patch) | |
tree | aa5b71ea671c02749b9091f810265e7834adaf77 /sapi/cli | |
parent | 35233302e18dfd7bf83361b6ce9b4bc464b87f8b (diff) | |
download | php-git-504fe5eedb091b2c20f4a01043b7395636a4178d.tar.gz |
fix test for good consoles (tm)
Diffstat (limited to 'sapi/cli')
-rw-r--r-- | sapi/cli/tests/016.phpt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/cli/tests/016.phpt b/sapi/cli/tests/016.phpt index 0b90844f37..adde106df0 100644 --- a/sapi/cli/tests/016.phpt +++ b/sapi/cli/tests/016.phpt @@ -11,6 +11,9 @@ if (!extension_loaded('readline') || readline_info('done') === NULL) { <?php $php = getenv('TEST_PHP_EXECUTABLE'); +// disallow console escape sequences that may break the output +putenv('TERM=VT100'); + $codes = array(); $codes[1] = <<<EOT |