зеркало из https://github.com/github/ruby.git
* test/readline/test_readline.rb (setup): avoid affected by user's
inputrc file. [ruby-dev:45584][Bug #6357] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
664a13b732
Коммит
0a68f1200b
|
@ -1,3 +1,8 @@
|
|||
Fri Apr 27 10:58:17 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* test/readline/test_readline.rb (setup): avoid affected by user's
|
||||
inputrc file. [ruby-dev:45584][Bug #6357]
|
||||
|
||||
Fri Apr 27 01:45:05 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* thread.c (rb_threadptr_execute_interrupts_common):
|
||||
|
|
|
@ -36,7 +36,14 @@ else
|
|||
end
|
||||
|
||||
class TestReadline < Test::Unit::TestCase
|
||||
INPUTRC = "INPUTRC"
|
||||
|
||||
def setup
|
||||
@inputrc, ENV[INPUTRC] = ENV[INPUTRC], IO::NULL
|
||||
end
|
||||
|
||||
def teardown
|
||||
ENV[INPUTRC] = @inputrc
|
||||
Readline.instance_variable_set("@completion_proc", nil)
|
||||
end
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче