COMMIT Renamed a constant in instance_eval test, to avoid collisions with Float specs. http://github.com/rubyspec/rubyspec/commit/83fea8fc3ae9e4575f2ec73013be31e5320c2193 COMMIT BigDecimal's regression test for [ruby-talk:338957]. http://github.com/rubyspec/rubyspec/commit/f49e1a6e4575ca0c351235c8e78d857f56509fb3 COMMIT Enclosed some BigDecimal#to_int spec in ruby_bug guards. http://github.com/rubyspec/rubyspec/commit/1cdfb1623994723020d9df8119e7ca581538b269 COMMIT Kernel#instance_eval: Added specs for constant lookup http://github.com/rubyspec/rubyspec/commit/9920783d89fb049c227677334defe48d21ef53d9 COMMIT [Rubyspec #99]: Additional Readline specs. http://github.com/rubyspec/rubyspec/commit/619eca2896d5b3050e094aa7a401b32180eaafaf --- 20091117T101408 +++ 20091118T100218 @@ -1,12120 +1,12122 @@ - has access to receiver's instance variables - treats block-local variables as local to the block - sets class variables in the receiver +- gets constants in the receiver if a string given +- doesn't get constants in the receiver if a block given - raises a TypeError when defining methods on an immediate - raises a TypeError when defining methods on numerics @@ -18325,12 +18327,10 @@ /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/bigdecimal/to_i_spec.rb BigDecimal#to_i -- returns nil if BigDecimal is infinity or NaN - returns Integer or Bignum otherwise /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/bigdecimal/to_int_spec.rb BigDecimal#to_int -- returns nil if BigDecimal is infinity or NaN - returns Integer or Bignum otherwise /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/bigdecimal/to_s_spec.rb @@ -23611,52 +23611,53 @@ /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/basic_quote_characters_spec.rb Readline.basic_quote_characters -- needs to be reviewed for spec completeness +- returns not nil Readline.basic_quote_characters= -- needs to be reviewed for spec completeness +- returns the passed string /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/basic_word_break_characters_spec.rb Readline.basic_word_break_characters -- needs to be reviewed for spec completeness +- returns not nil Readline.basic_word_break_characters= -- needs to be reviewed for spec completeness +- returns the passed string /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/completer_quote_characters_spec.rb Readline.completer_quote_characters -- needs to be reviewed for spec completeness +- returns nil Readline.completer_quote_characters= -- needs to be reviewed for spec completeness +- returns the passed string /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/completer_word_break_characters_spec.rb Readline.completer_word_break_characters -- needs to be reviewed for spec completeness +- returns nil Readline.completer_word_break_characters= -- needs to be reviewed for spec completeness +- returns the passed string /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/completion_append_character_spec.rb Readline.completion_append_character -- needs to be reviewed for spec completeness +- returns not nil Readline.completion_append_character= -- needs to be reviewed for spec completeness +- returns the first character of the passed string /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/completion_case_fold_spec.rb Readline.completion_case_fold -- needs to be reviewed for spec completeness +- returns nil Readline.completion_case_fold= -- needs to be reviewed for spec completeness +- returns the passed boolean /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/completion_proc_spec.rb Readline.completion_proc -- needs to be reviewed for spec completeness +- returns nil Readline.completion_proc= -- needs to be reviewed for spec completeness +- returns the passed Proc +- returns an ArgumentError if not given an Proc or #call /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/constants_spec.rb Readline::HISTORY @@ -23667,14 +23668,14 @@ /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/emacs_editing_mode_spec.rb Readline.emacs_editing_mode -- needs to be reviewed for spec completeness +- returns nil /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/filename_quote_characters_spec.rb Readline.filename_quote_characters -- needs to be reviewed for spec completeness +- returns nil Readline.filename_quote_characters= -- needs to be reviewed for spec completeness +- returns the passed string /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/history/append_spec.rb Readline::HISTORY.<< @@ -23745,15 +23746,13 @@ - returns 'HISTORY' /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/readline_spec.rb -Readline#readline -- needs to be reviewed for spec completeness - Readline.readline -- needs to be reviewed for spec completeness +- returns the input string (ERROR - ) +- taints the returned strings (ERROR - ) /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/vi_editing_mode_spec.rb Readline.vi_editing_mode -- needs to be reviewed for spec completeness +- returns nil /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/resolv/get_address_spec.rb Resolv#getaddress @@ -24991,9 +24990,9 @@ - raises Errno::EACCES when the current user does not have permission to bind Socket#bind on SOCK_STREAM socket -- binds to a port (FAILED - ) -- returns 0 if successful (ERROR - ) -- raises Errno::EINVAL when binding to an already bound port (ERROR - ) +- binds to a port +- returns 0 if successful +- raises Errno::EINVAL when binding to an already bound port - raises Errno::EADDRNOTAVAIL when the specified sockaddr is not available from the local machine - raises Errno::EACCES when the current user does not have permission to bind @@ -27084,7 +27083,7 @@ ) ConditionVariable#broadcast releases all threads waiting in line for this resource ERROR -ThreadError: Thread#join: deadlock 0x7ffd17a95e18 - mutual join(0x4329e58) +ThreadError: Thread#join: deadlock 0x7f1c5a23be00 - mutual join(0x28223d0) /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `join' /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/conditionvariable/broadcast_spec.rb:55 /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `each' @@ -27612,24 +27611,29 @@ /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/bin/mspec-run:8 ) -Socket#bind on SOCK_STREAM socket binds to a port FAILED -Expected to not get Exception -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/expectations/should.rb:19:in `should_not' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/socket/socket/bind_spec.rb:56 +An exception occurred during: before :each +Readline.readline returns the input string ERROR +IOError: closed stream +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/readline_spec.rb:14:in `initialize_copy' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/readline_spec.rb:14:in `dup' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/readline_spec.rb:14 /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `protect' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `protect' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/guards/guard.rb:157:in `all?' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/readline_spec.rb:6:in `all?' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `each' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `all?' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `protect' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:163:in `process' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:160:in `process' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:155:in `each' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:155:in `process' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:36:in `describe' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/object.rb:11:in `describe' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/socket/socket/bind_spec.rb:44 +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/readline_spec.rb:8 +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/guards/support.rb:16:in `not_supported_on' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/readline_spec.rb:5 +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/guards/background.rb:17:in `process_is_foreground' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/readline_spec.rb:3 /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:55:in `load' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:55:in `files' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' @@ -27643,53 +27647,29 @@ /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/bin/mspec-run:8 ) -Socket#bind on SOCK_STREAM socket returns 0 if successful ERROR -Errno::EADDRINUSE: Address already in use - bind(2) -/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/socket/socket/bind_spec.rb:60:in `bind' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/socket/socket/bind_spec.rb:60 +An exception occurred during: before :each +Readline.readline taints the returned strings ERROR +IOError: closed stream +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/readline_spec.rb:14:in `initialize_copy' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/readline_spec.rb:14:in `dup' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/readline_spec.rb:14 /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `protect' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `protect' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/expectations/expectations.rb:15:in `all?' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/readline_spec.rb:14:in `all?' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `each' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `all?' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `protect' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:163:in `process' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:155:in `each' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:155:in `process' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:36:in `describe' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/object.rb:11:in `describe' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/socket/socket/bind_spec.rb:44 -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:55:in `load' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:55:in `files' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `protect' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:55:in `files' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:49:in `each' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:49:in `files' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:41:in `process' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/commands/mspec-run.rb:87:in `run' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/utils/script.rb:217:in `main' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/bin/mspec-run:8 - - ) -Socket#bind on SOCK_STREAM socket raises Errno::EINVAL when binding to an already bound port ERROR -Errno::EADDRINUSE: Address already in use - bind(2) -/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/socket/socket/bind_spec.rb:64:in `bind' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/socket/socket/bind_spec.rb:64 -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `protect' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `protect' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/socket/socket/bind_spec.rb:60:in `all?' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `each' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `all?' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `protect' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:163:in `process' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:160:in `process' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:155:in `each' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:155:in `process' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:36:in `describe' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/object.rb:11:in `describe' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/socket/socket/bind_spec.rb:44 +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/readline_spec.rb:8 +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/guards/support.rb:16:in `not_supported_on' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/readline_spec.rb:5 +/home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/guards/background.rb:17:in `process_is_foreground' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/readline/readline_spec.rb:3 /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:55:in `load' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:55:in `files' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' @@ -28046,7 +28026,7 @@ Finished in seconds -2900 files, 10954 examples, 33500 expectations, 16 failures, 39 errors +2900 files, 10973 examples, 33521 expectations, 15 failures, 39 errors exit 1 failed(rubyspec) == end #