COMMIT Modify Kernel.lambda specs for 1.9 behavior. http://github.com/rubyspec/rubyspec/commit/efcdbe320967cf695c980deb93d1701ba19548ce COMMIT Spec to show that autoloads survive require LoadErrors http://github.com/rubyspec/rubyspec/commit/0ad6c2b98854f9bb962782e0b92de760e195c2ae COMMIT Added ruby_bug guard for File.expand_path with '////some/dir'. http://github.com/rubyspec/rubyspec/commit/ef660f2400df8c4787818543f86b62858f9916db COMMIT Updated Kernel#requires specs with bug guard. http://github.com/rubyspec/rubyspec/commit/302ffec7ca709c110e419a46ddd2503d5667a090 COMMIT Add spec for IO#read http://github.com/rubyspec/rubyspec/commit/973032d0cf16c61a66d1ceedf44276d10a8934f2 COMMIT Add spec for #261 http://github.com/rubyspec/rubyspec/commit/993170b5f6b829d3b8030f4aa1d42ff60dbcb706 COMMIT Add spec about private_methods respecting the class hierarchy http://github.com/rubyspec/rubyspec/commit/68665b2907a624b98be9b142bd51fe9027505257 COMMIT Remove the last test that over-specifies randomness http://github.com/rubyspec/rubyspec/commit/d4bc651d5eaf1ef38960f299dfc759bf7d624948 COMMIT Make some Thread#kill related specs more fail-proof http://github.com/rubyspec/rubyspec/commit/dc998a53020d440eed8ccf6d32311d752d5c2180 COMMIT Spec for Process#kill http://github.com/rubyspec/rubyspec/commit/4cd1bac25c9029f7495033801ebbb4b5a5c941e1 COMMIT Mark the thread as sleeping when it is blocked on IO http://github.com/rubyspec/rubyspec/commit/e772da441a0a116c9b01f9545b9f17fb8cdb8143 COMMIT Quarantine specs that depend on DNS servers to return NXDOMAIN http://github.com/rubyspec/rubyspec/commit/1cad853ca9165aec040b6d5d2080474090d6790e COMMIT Add spec for edge case in String#sum http://github.com/rubyspec/rubyspec/commit/d0f306209ca427fbd7d93769ab6a8d2b8d8c86c1 COMMIT Use a controlled name for testing unknown hostnames http://github.com/rubyspec/rubyspec/commit/cd7f3442c513cf48c82652fd18c5dd0927ac0b06 COMMIT Add spec for Module#remove_class_variable http://github.com/rubyspec/rubyspec/commit/d74d556fa126206fd71f77ab22324aab4c15875f COMMIT Increase acceptable duration for Thread#kill in socket specs http://github.com/rubyspec/rubyspec/commit/05e98416a87626798493449ae16ab8f9dd52ee0b COMMIT Use a more obviously invalid name http://github.com/rubyspec/rubyspec/commit/0e74a29a7ec60b2127419e3357298f7491bfa307 COMMIT Fix new String#% specs to actually test something http://github.com/rubyspec/rubyspec/commit/0ba3d0aae8ad71942d43bd742b940dc53c086605 COMMIT Add missing nil.clone spec http://github.com/rubyspec/rubyspec/commit/df4a140bd3618dc2a044045f182e7e7492277e55 COMMIT spec for % with positional arguments and precision arguments. tagged as fails http://github.com/rubyspec/rubyspec/commit/b8aa07058cdc72a6151801e9cb187da1201bccb3 COMMIT Added missing fixture file. http://github.com/rubyspec/rubyspec/commit/811605a46848a2db14cb1533393a16d477044958 COMMIT Add Autoload spec http://github.com/rubyspec/rubyspec/commit/a7b4664e7795a36887c4bda666807503341c49c5 COMMIT More specs on bignums bitwise operations http://github.com/rubyspec/rubyspec/commit/8785e676bf1622cfca9c197e3993079eb9d4ab93 COMMIT Remove Fixnum/Bignum barrier specs http://github.com/rubyspec/rubyspec/commit/92a6c3cd1147aa98b7323e0cb5ca5ccf53a5ec06 COMMIT Improve & extend Kernel.{rand,srand} specs. http://github.com/rubyspec/rubyspec/commit/73851451597c06c315cc845a3ddabbdeab45748a COMMIT Add specs for lambda's arity checks http://github.com/rubyspec/rubyspec/commit/71d09e371fe3f27436521fe1ea8c0dffe6fbb250 COMMIT Add spec for defined? http://github.com/rubyspec/rubyspec/commit/9af9f06a6645f20f89bcb950a1eab93a6acc46ab COMMIT Added patch for StringScanner from #214. http://github.com/rubyspec/rubyspec/commit/72404b394fe206b2f2a03865fdf0eaf135e3e03e COMMIT Patch for String#unpack from #216. http://github.com/rubyspec/rubyspec/commit/017a02417e7422f2e458646287545d8709db68ee COMMIT Module#define_method should accept a String method name http://github.com/rubyspec/rubyspec/commit/561a3e4ef1acc1ad5df5b6df855cfd67d84c07db COMMIT Added %x, %X, %Z cases to Time.strftime http://github.com/rubyspec/rubyspec/commit/b01bedacfa26e87a3f41ed89c49f81de7bf4c7cb =================================================================== +++ 20100423T095615 @@ 12 @@ URL: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6 リポジトリのルート: http://svn.ruby-lang.org/repos/ruby リポジトリ UUID: b2dd03c8-39d4-4d8f-98ff-823fe69b080e +リビジョン: 27452 ノード種別: ディレクトリ 準備中の処理: 特になし 最終変更者: wyhaines @@ 8810 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/bignum/bit_and_spec.rb Bignum#& - returns self bitwise AND other +- returns self bitwise AND other when one operand is negative +- returns self bitwise AND other when both operands are negative - coerces Float arguments into Integers - tries to convert the given argument to an Integer using to_int - raises a TypeError when the given argument can't be converted to Integer @@ 8819 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/bignum/bit_or_spec.rb Bignum#| - returns self bitwise OR other +- returns self bitwise OR other when one operand is negative +- returns self bitwise OR other when both operands are negative - coerces Float arguments to Integers - tries to convert the given argument to an Integer using to_int - raises a TypeError when the given argument can't be converted to Integer @@ 8828 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/bignum/bit_xor_spec.rb Bignum#^ - returns self bitwise EXCLUSIVE OR other +- returns self bitwise EXCLUSIVE OR other when one operand is negative +- returns self bitwise EXCLUSIVE OR other when both operands are negative - coerces Float arguments into Integers - tries to convert the given argument to an Integer using to_int - raises a TypeError when the given argument can't be converted to Integer @@ 10287 @@ - expand_path for commoms unix path give a full path - raises an ArgumentError if the path is not valid - expands ~ENV['USER'] to the user's home directory +- does not expand ~ENV['USER'] when it's not at the start - expands ../foo with ~/dir as base dir to /path/to/user/home/foo - raises an ArgumentError if not passed one or two arguments - raises a TypeError if not passed a String type @@ 12464 @@ IO#read - can be read from consecutively +- clears the output buffer if there is nothing to read - consumes zero bytes when reading zero bytes - is at end-of-file when everything has been read - reads the contents of a file @@ 13310 @@ - copies singleton methods - copies modules included in the singleton class - copies constants defined in the singleton class +- raises TypeError when called on nil /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/kernel/comparison_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/kernel/const_lookup_spec.rb @@ 13598 @@ Kernel.lambda - returns a Proc object - raises an ArgumentError when no block is given +- returns from the itself, not the creation site of the - allows long returns to flow through it - is a private method +- does not check the arity of the call when no args are specified +- does not check the arity when 1 arg is specified +- accepts 0 arguments when used with || +- strictly checks the arity when 0 or 2..inf args are specified /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/kernel/load_spec.rb Kernel#load @@ 13676 @@ Kernel.load (path resolution) with an unreadable file - raises a LoadError +Kernel.load - loads a non-extensioned file as a Ruby source file - loads a non .rb extensioned file as a Ruby source file - loads a file that recursively requires itself @@ 13689 @@ - raises a LoadError if passed a non-extensioned path that does not exist but a .rb extensioned path does exist - sets the enclosing scope to an anonymous module if passed true for 'wrap' +Kernel.load (shell expansion) - expands a tilde to the HOME environment variable as the path to load /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/kernel/local_variables_spec.rb @@ 13820 @@ Kernel#private_methods - returns a list of the names of privately accessible methods in the object - returns a list of the names of privately accessible methods in the object and its ancestors and mixed-in modules +- respects the class hierarchy when decided what is private /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/kernel/proc_spec.rb Kernel.proc - is a private method - returns a Proc object - raises an ArgumentError when no block is given +- returns from the itself, not the creation site of the - allows long returns to flow through it Kernel#proc @@ 13884 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/kernel/rand_spec.rb Kernel.rand - is a private method +- returns a float if no argument is passed +- returns an integer for an integer argument +- returns an integer for a float argument greater than 1 +- returns a float for an argument between -1 and 1 +- ignores the sign of the argument - never returns a value greater or equal to 1.0 with no arguments - never returns a value greater or equal to any passed in max argument +- calls to_i on its argument Kernel#rand - needs to be reviewed for spec completeness @@ 14128 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/kernel/srand_spec.rb Kernel.srand - is a private method +- returns the previous seed value +- seeds the RNG correctly and repeatably - defaults number to a random value +- accepts and uses a seed of 0 +- accepts a negative seed +- accepts a Bignum as a seed +- calls #to_int on seed - raises a TypeError when passed nil - raises a TypeError when passed a String @@ 14932 @@ - does not load the file when the constant is already set - loads a file with .rb extension when passed the name without the extension - does not load the file if the file is manually required +- ignores the autoload request if the file is already loaded +- retains the autoload even if the request to require fails - allows multiple autoload constants for a single file - runs for an exception condition class and doesn't trample the exception - removes the constant from the constant table if load fails @@ 15105 @@ - raises a TypeError when the given method is no Method/Proc - accepts a Method (still bound) - maintains the Proc's scope +- accepts a String method name - is private /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/module/eql_spec.rb @@ 15384 @@ - on a superclass method calls the redefined method /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/module/remove_class_variable_spec.rb +Module#remove_class_variable +- removes class variable +- returns the value of removing class variable +- raises a NameError when removing class variable declared in included module +- raises a NameError when passed a symbol with one leading @ +- raises a NameError when passed a symbol with no leading @ +- raises a NameError when an uninitialized class variable is given - is private /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/module/remove_const_spec.rb @@ 16010 @@ - raises an ArgumentError for unknown signals - doesn't accept lowercase signal names - doesn't tolerate leading or trailing spaces in signal names +- accepts symbols as signal names (ERROR - ) - tests for the existence of a process without sending a signal - raises an EPERM if permission is denied @@ 17146 @@ - replaces trailing absolute argument specifier without type with percent sign - raises an ArgumentError when given invalid argument specifiers - raises an ArgumentError when multiple positional argument tokens are given for one format specifier +- respects positional arguments and precision tokens given for one format specifier - raises an ArgumentError when multiple width star tokens are given for one format specifier - raises an ArgumentError when a width star token is seen after a width token - raises an ArgumentError when multiple precision tokens are given @@ 17663 @@ String#sum - returns a basic n-bit checksum of the characters in self - tries to convert n to an integer using to_int +- returns sum of the bytes in self if n less or equal to zero /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/string/swapcase_spec.rb String#swapcase @@ 18668 @@ - returns the minute with %M - returns the second with %S - returns the enumerated day of the week with %w +- returns the date alone with %x +- returns the time alone with %X - returns the year wihout a century with %y - returns the year with %Y +- returns the timezone with %Z /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/time/subsec_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/time/succ_spec.rb @@ 19212 @@ The defined? keyword when called with a method name having a module as receiver - returns 'method' if the method is defined - returns nil if the method is private +- returns nil if the method is protected - returns nil if the method is not defined - returns nil if the class is not defined - returns nil if the subclass is not defined @@ 22236 @@ ConditionVariable#broadcast - should return self if nothing to broadcast to - should return self if something is waiting for a broadcast +- releases all threads waiting in line for this resource /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/conditionvariable/signal_spec.rb ConditionVariable#signal @@ 28985 @@ - is not multi-byte character sensitive - returns nil at the end of the string - warns in verbose mode that the method is obsolete +- returns an instance of String when passed a String subclass +- taints the returned String if the input was tainted /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/stringscanner/getch_spec.rb StringScanner#getch - scans one character and returns it - is multi-byte character sensitive - returns nil at the end of the string +- returns an instance of String when passed a String subclass +- taints the returned String if the input was tainted /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/stringscanner/initialize_copy_spec.rb StringScanner#initialize_copy @@ 29028 @@ StringScanner#matched - returns the last matched string - returns nil if there's no match +- returns an instance of String when passed a String subclass +- taints the returned String if the input was tainted StringScanner#matched? - returns true if the last match was successful @@ 29051 @@ - returns an empty string when the passed argument is zero - raises a ArgumentError when the passed argument is negative - raises a RangeError when the passed argument is a Bignum +- returns an instance of String when passed a String subclass +- taints the returned String if the input was tainted /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/stringscanner/peep_spec.rb StringScanner#peep @@ 29060 @@ - returns an empty string when the passed argument is zero - raises a ArgumentError when the passed argument is negative - raises a RangeError when the passed argument is a Bignum +- returns an instance of String when passed a String subclass +- taints the returned String if the input was tainted - warns in verbose mode that the method is obsolete /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/stringscanner/pointer_spec.rb @@ 29088 @@ StringScanner#post_match - returns the post-match (in the regular expression sense) of the last scan - returns nil if there's no match +- returns an instance of String when passed a String subclass +- taints the returned String if the input was tainted /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/stringscanner/pre_match_spec.rb StringScanner#pre_match - returns the pre-match (in the regular expression sense) of the last scan - returns nil if there's no match +- returns an instance of String when passed a String subclass +- taints the returned String if the input was tainted /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/stringscanner/reset_spec.rb StringScanner#reset @@ 29112 @@ - returns the rest of the string - returns self in the reset position - returns an empty string in the terminate position +- returns an instance of String when passed a String subclass +- taints the returned String if the input was tainted StringScanner#rest? - returns true if there is more data in the string @@ 29858 @@ /home/chkbuild/tmp/build/ruby-1.8.6//mspec/bin/mspec-run:8 ) +Process.kill accepts symbols as signal names ERROR +ArgumentError: unsupported name `SIGINFO' +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/process/kill_spec.rb:24:in `kill' +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/process/kill_spec.rb:24 /home/chkbuild/tmp/build/ruby-1.8.6//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8.6//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /home/chkbuild/tmp/build/ruby-1.8.6//mspec/lib/mspec/runner/context.rb:179:in `protect' +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/process/kill_spec.rb:20:in `all?' /home/chkbuild/tmp/build/ruby-1.8.6//mspec/lib/mspec/runner/context.rb:179:in `each' /home/chkbuild/tmp/build/ruby-1.8.6//mspec/lib/mspec/runner/context.rb:179:in `all?' /home/chkbuild/tmp/build/ruby-1.8.6//mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 29874 @@ /home/chkbuild/tmp/build/ruby-1.8.6//mspec/lib/mspec/runner/context.rb:199:in `process' /home/chkbuild/tmp/build/ruby-1.8.6//mspec/lib/mspec/runner/mspec.rb:37:in `describe' /home/chkbuild/tmp/build/ruby-1.8.6//mspec/lib/mspec/runner/object.rb:11:in `describe' +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/process/kill_spec.rb:4 /home/chkbuild/tmp/build/ruby-1.8.6//mspec/lib/mspec/runner/mspec.rb:56:in `load' /home/chkbuild/tmp/build/ruby-1.8.6//mspec/lib/mspec/runner/mspec.rb:56:in `files' /home/chkbuild/tmp/build/ruby-1.8.6//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 30666 @@ Finished in seconds +3156 files, 11925 examples, expectations, 6 failures, 33 errors exit 1 failed(rubyspec) == end #