Show Readline::VERSION for debugging

This commit is contained in:
aycabta 2021-08-06 03:55:58 +09:00
Родитель 983630b5fd
Коммит e687b6f4da
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -513,7 +513,7 @@ module BasetestReadline
log, status = EnvUtil.invoke_ruby(["-I#{current_dir}", path], "", true, :merge_to_stdout) do |_in, _out, _, pid|
begin
Timeout.timeout(4) do
log = String.new
log = String.new("Readline::VERSION is #{Readline::VERSION}.\n")
while c = _out.read(1)
log << c if c
break if log.include?('input>')