1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/readline
Yusuke Endoh 905b6aaa7c 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.
2021-11-02 17:28:23 +09:00
..
helper.rb Remove half-defined Reline on LoadError 2021-07-10 21:02:50 +09:00
test_readline.rb test/readline/test_readline.rb: Use TERM=vt100 to run the tests 2021-11-02 17:28:23 +09:00
test_readline_history.rb Call super method by teardown of tests of Reline as Readline 2021-06-21 22:29:04 +09:00