On Mon, 18 Dec 2000 00:17:39 +0900
Masatoshi SEKI <m_seki / mva.biglobe.ne.jp> wrote:
> 分散RubyことdRubyの1.3をRAAに登録、contribにputしました(drb-1.3.tar.gz)。

runitっていうのがあったのでちょっと試してみたら、起動の仕方に
よっては結果が変なようです。

# -dを試したらノイズが増えすぎたのでRubyUnitと相性が悪そう(^^;

% ruby -v drbunit.rb
(略)
DRbAryTest#test_01 .
DRbAryTest#test_02_collect .
DRbAryTest#test_03_redo .
DRbAryTest#test_04_retry #<LocalJumpError: retry from proc-closure>
drbunit.rb:108:in `call'
~/lib/ruby/drb/drb.rb:327:in `__send__'
~/lib/ruby/drb/drb.rb:327:in `proc'
~/lib/ruby/drb/drb.rb:297:in `start'
~/lib/ruby/drb/drb.rb:297:in `proc'
~/lib/ruby/drb/drb.rb:278:in `run'
~/lib/ruby/drb/drb.rb:275:in `start'
~/lib/ruby/drb/drb.rb:275:in `run'
~/lib/ruby/drb/drb.rb:238:in `initialize'
drbunit.rb:14:in `new'
drbunit.rb:14:in `initialize'
drbunit.rb:137:in `new'
drbunit.rb:137
.
Time: 3.867326
OK (4/4 tests  5 asserts)
(略)
% ruby -rprofile drbunit.rb
(略)
DRbCoreTest#test_03 E.
Time: 10.585194
FAILURES!!!
Test Results:
 Run: 3/3(9 asserts) Failures: 0 Errors: 1
Errors: 1
~/lib/ruby/drb/drb.rb:87:in `write'(DRbCoreTest): パイプが切断されまし
た (Errno::EPIPE)
        from ~/lib/ruby/drb/drb.rb:87:in `dump'
        from ~/lib/ruby/drb/drb.rb:110:in `send_request'
        from ~/lib/ruby/drb/drb.rb:109:in `each'
        from ~/lib/ruby/drb/drb.rb:109:in `send_request'
        from ~/lib/ruby/drb/drb.rb:184:in `send_message'
        from ~/lib/ruby/drb/drb.rb:165:in `method_missing'
        from drbunit.rb:62:in `test_03'
        from drbunit.rb:61:in `call'
        from drbunit.rb:61:in `test_03'
        from drbunit.rb:140

DRbAryTest#test_01 .
(略)


-- 
ZnZ(ゼット エヌ ゼット)
西山和広(Kazuhiro NISHIYAMA)