COMMIT Add specs for Marshal respond_to? behaviors. http://github.com/rubyspec/rubyspec/commit/f979fb9b13372811dfc5fb4519f1886363de0a6c =================================================================== +++ 20101208T004051Z @@ 15918 @@ - raises an Error when the IO-Object does not respond to #write - raises an ArgumentError when given more than three arguments - raises an Error when trying to dump an anonymous class/module +- invokes respond_to? for marshal_dump and _dump on user classes +- attempts to invoke marshal_dump if respond_to? :marshal_dump is true +- attempts to invoke _dump if respond_to? :_dump is true - raises a TypeError if _dump returns a non-string - dumps an Object - dumps an extended_object @@ 16002 @@ - loads a extended_struct having fields with same objects - loads a string having ivar with ref to self - loads an extended_user_hash with a parameter to initialize +- invokes respond_to? for marshal_load when the stream needs marshal_load +- invokes respond_to? for _load when the stream needs _load - loads a user-marshaled extended object - loads a user_object - loads a object @@ 33555 @@ ) ConditionVariable#broadcast releases all threads waiting in line for this resource ERROR +ThreadError: Thread#join: deadlock 0x13d1ac - mutual join(0x1fddc9c) /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `join' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/library/conditionvariable/broadcast_spec.rb:55 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `each' @@ 34750 @@ Finished in seconds +3286 files, 13434 examples, expectations, 26 failures, 35 errors exit 1 failed(rubyspec) == end #