diff options
author | Yusuke Endoh <[email protected]> | 2021-11-02 17:28:23 +0900 |
---|---|---|
committer | Yusuke Endoh <[email protected]> | 2021-11-02 17:28:23 +0900 |
commit | 905b6aaa7c5d327ab14bc7eaec13de5a34a82753 (patch) | |
tree | 8af7ecd98ca17ff6ad41389d22262417d923e455 /include/ruby/internal | |
parent | 38785aa3b9ec7356d6c8ad32242c28fd04ccafcf (diff) |
test/readline/test_readline.rb: Use TERM=vt100 to run the tests
Readline seems to emit an escape sequence `"\e[?1034h` at an
unpredictable timing when `TERM=xterm` or something.
This leads to a noisy random test failure.
http://rubyci.s3.amazonaws.com/amazon2/ruby-master/log/20211102T063005Z.fail.html.gz
```
1) Failure:
TestReadline#test_modify_text_in_pre_input_hook [/home/chkbuild/chkbuild/tmp/build/20211102T063005Z/ruby/test/readline/test_readline.rb:404]:
<"> hello world\n"> expected but was
<"\e[?1034h> hello world\n">.
```
This test is for Ruby's readline extension, not for readline library
itself. So here this change force to use "TERM=vt100" to run the tests.
Diffstat (limited to 'include/ruby/internal')
0 files changed, 0 insertions, 0 deletions