Project

General

Profile

Actions

Bug #6035

closed

2F in TestReadline

Added by kyanagi (Kouhei Yanagita) about 12 years ago. Updated about 12 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0dev (2012-02-19 trunk 34692) [i386-netbsdelf6.99.1]
Backport:
[ruby-dev:45257]

Description

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

Actions #1

Updated by naruse (Yui NARUSE) about 12 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby master to Backport193
Actions #2

Updated by naruse (Yui NARUSE) about 12 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r34657.
Kouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 34255: [Backport #6035]

* test/readline/test_readline.rb (test_completion_proc_empty_result): rescue NoMemoryError.
Actions #3

Updated by naruse (Yui NARUSE) about 12 years ago

  • Tracker changed from Backport to Bug
  • Project changed from Backport193 to Ruby master
  • Status changed from Closed to Assigned
  • Assignee set to nobu (Nobuyoshi Nakada)

I succeeded to reproduce this issue.
This is libedit dependent issue.

Updated by naruse (Yui NARUSE) about 12 years ago

  • Status changed from Assigned to Open
  • Assignee deleted (nobu (Nobuyoshi Nakada))
  • 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 を見てる。

Updated by naruse (Yui NARUSE) about 12 years ago

  • Status changed from Open to Third Party's Issue

Yui NARUSE wrote:

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

http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=46059 本家に報告しました。
libedit はバージョン取れないので Third Party's Issue ってことにします。

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0