Actions
Bug #6357
closedreadlineのテストtest_editing_modeが実行ユーザの.inputrcに影響される
Description
=begin
木村といいます。
readlineのテストが実行したユーザの~/.inputrcによって失敗することがあります。
以下に例を示します。
- inputrcでviモードが指定されているとtest_editing_modeが失敗する
% echo set editing-mode vi > inputrc
% INPUTRC=inputrc make test-all TESTS=readline
:
- Failure:
test_editing_mode(TestReadline) [/Volumes/CHome/kimuraw/work/ruby/ruby_2_0/test/readline/test_readline.rb:244]:
expected but was
.
32 tests, 328 assertions, 1 failures, 0 errors, 0 skips
- inputrcを空にするとすべてのテストが通る。
% echo > inputrc
% INPUTRC=inputrc make test-all TESTS=readline
:
32 tests, 341 assertions, 0 failures, 0 errors, 0 skips
=end
Updated by mame (Yusuke Endoh) about 12 years ago
- Status changed from Open to Assigned
- Assignee set to kouji (Kouji Takao)
Updated by nobu (Nobuyoshi Nakada) almost 12 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r35483.
Wataru, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- test/readline/test_readline.rb (setup): avoid affected by user's
inputrc file. [ruby-dev:45584][Bug #6357]
Actions
Like0
Like0Like0