[ruby-trunk - Bug #6035][Open] 2F in TestReadline

Issue #6035 has been reported by Kouhei Y…


Bug #6035: 2F in TestReadline

Author: Kouhei Y.
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3p125 (2012-02-16 revision 34643)
[x86_64-darwin10.8.0]

Mac OS X 10.6.8 で以下のような Failure が発生します。

% make test-all TESTS=“readline/test_readline.rb”
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext
– --disable-gems “./test/runner.rb” --ruby=“./miniruby -I./lib -I.
-I.ext/common ./tool/runruby.rb --extout=.ext – --disable-gems”
readline/test_readline.rb
Run options: “–ruby=./miniruby -I./lib -I. -I.ext/common
./tool/runruby.rb --extout=.ext – --disable-gems”

Running tests:

…?^?^?F.F…

Finished tests in 0.012582s, 953.7434 tests/s, 5563.5034 assertions/s.

  1. Failure:
    test_completion_encoding(TestReadline)
    [/Users/ani/src/ruby-1.9.3-p125/test/readline/test_readline.rb:285]:
    [Bug #5941].
    <“あ”> expected but was
    .

  2. Failure:
    test_completion_proc_empty_result(TestReadline)
    [/Users/ani/src/ruby-1.9.3-p125/test/readline/test_readline.rb:195]:
    <“first”> expected but was
    .

12 tests, 70 assertions, 2 failures, 0 errors, 0 skips
make: *** [yes-test-all] Error 2

Issue #6035 has been updated by Yui NARUSE.

Status changed from Assigned to Open
Assignee deleted (Nobuyoshi N.)
ruby -v set to ruby 2.0.0dev (2012-02-19 trunk 34692)
[i386-netbsdelf6.99.1]

これ、libedit 側のバグですね。
rl_outstream セットしてるのに、file_complete.c で el->el_outfile を見てる。

Bug #6035: 2F in TestReadline

Author: Kouhei Y.
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.0.0dev (2012-02-19 trunk 34692) [i386-netbsdelf6.99.1]

Mac OS X 10.6.8 で以下のような Failure が発生します。

% make test-all TESTS=“readline/test_readline.rb”
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext
– --disable-gems “./test/runner.rb” --ruby=“./miniruby -I./lib -I.
-I.ext/common ./tool/runruby.rb --extout=.ext – --disable-gems”
readline/test_readline.rb
Run options: “–ruby=./miniruby -I./lib -I. -I.ext/common
./tool/runruby.rb --extout=.ext – --disable-gems”

Running tests:

…?^?^?F.F…

Finished tests in 0.012582s, 953.7434 tests/s, 5563.5034 assertions/s.

  1. Failure:
    test_completion_encoding(TestReadline)
    [/Users/ani/src/ruby-1.9.3-p125/test/readline/test_readline.rb:285]:
    [Bug #5941].
    <“あ”> expected but was
    .

  2. Failure:
    test_completion_proc_empty_result(TestReadline)
    [/Users/ani/src/ruby-1.9.3-p125/test/readline/test_readline.rb:195]:
    <“first”> expected but was
    .

12 tests, 70 assertions, 2 failures, 0 errors, 0 skips
make: *** [yes-test-all] Error 2

Issue #6035 has been updated by Yui NARUSE.

Status changed from Open to Third Party’s Issue

Yui NARUSE wrote:

これ、libedit 側のバグですね。
rl_outstream セットしてるのに、file_complete.c で el->el_outfile を見てる。

NetBSD Problem Report #46059: libedit readline doesn't reset el_infile/el_outfile
本家に報告しました。
libedit はバージョン取れないので Third Party’s Issue ってことにします。

Bug #6035: 2F in TestReadline

Author: Kouhei Y.
Status: Third Party’s Issue
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.0.0dev (2012-02-19 trunk 34692) [i386-netbsdelf6.99.1]

Mac OS X 10.6.8 で以下のような Failure が発生します。

% make test-all TESTS=“readline/test_readline.rb”
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext
– --disable-gems “./test/runner.rb” --ruby=“./miniruby -I./lib -I.
-I.ext/common ./tool/runruby.rb --extout=.ext – --disable-gems”
readline/test_readline.rb
Run options: “–ruby=./miniruby -I./lib -I. -I.ext/common
./tool/runruby.rb --extout=.ext – --disable-gems”

Running tests:

…?^?^?F.F…

Finished tests in 0.012582s, 953.7434 tests/s, 5563.5034 assertions/s.

  1. Failure:
    test_completion_encoding(TestReadline)
    [/Users/ani/src/ruby-1.9.3-p125/test/readline/test_readline.rb:285]:
    [Bug #5941].
    <“あ”> expected but was
    .

  2. Failure:
    test_completion_proc_empty_result(TestReadline)
    [/Users/ani/src/ruby-1.9.3-p125/test/readline/test_readline.rb:195]:
    <“first”> expected but was
    .

12 tests, 70 assertions, 2 failures, 0 errors, 0 skips
make: *** [yes-test-all] Error 2