ruby 1.9.3dev (2011-04-12 trunk 31267) [powerpc64-linux] [o3] (ooopackages) 1913W 1F1E1S rubyspec:20F1E

chkbuild summary recent last

OlderDiff < 20110411T183304Z < ThisDiff > 20110412T183303Z > NewerDiff

OLDREV 31263
NEWREV 31267
CHG ChangeLog	31262->31267
CHG ext/readline/extconf.rb	30519->31265
CHG include/ruby/st.h	30757->31267
CHG include/ruby/win32.h	31262->31264
CHG lib/uri/common.rb	30091->31266
COMMIT Add a few more Dir[] specs
COMMIT Add missing specs for String#chomp!
COMMIT Start cleanup and organization of the Marshal specs
COMMIT Silence warn_unused_result in C-API spec.
COMMIT Add spec for Module#include return value
COMMIT Adding spec to confirm that Hash#reject taints.
COMMIT Add specs for nested braces in Dir.glob (@meadow)
COMMIT Added spec for Enumerable.include? to check that equality == method is called on enumeration items
COMMIT Added spec for Array.slice!(0)
COMMIT Add spec for Hash#to_a and Enumerable#entries relationship
COMMIT Added spec for YAML parsing second fraction to microseconds from iso8601 date
COMMIT specs for rb_io_check_readable/writeable - should accept io in RDWR mode
COMMIT fix spec for rb_io_check_writeable
COMMIT rb_ary_reverse reverses in-place (closes #792)
COMMIT split up rb_ary_reverse specs
COMMIT Marshal.load wraps NameError in ArgumentError
COMMIT FreeBSD gives a different exception type
COMMIT Add more DATA specs
COMMIT Move all DATA specs to one place
COMMIT specs for BigDecimal::ROUND_HALF_DOWN/ROUND_HALF_EVEN
COMMIT specs for Marshal.dump/load Integer
COMMIT Rewrite IO#putc specs and share with Kernel[#.]putc.
COMMIT Add specs for rb_ary_to_ary
COMMIT Add specs for rb_alias
COMMIT Add specs for rb_struct_getmember
COMMIT Add spec for the regular case with a start and end given
COMMIT Added SpecTCPServer.
COMMIT Rewrote TCPSocket.new/open specs.
COMMIT Spec for TCPSocket#recv_nonblock.
COMMIT Temporary hack to avoid address in use exception.
COMMIT More specs for File#truncate
COMMIT Some tweaks for File#truncate spec.
COMMIT Simplified SpecTCPServer.
COMMIT Cleaned up YAML.load specs usec from a ISO8601 timestamp.
COMMIT Added ruby_bug guard for BigDecimal::ROUND_HALF_DOWN|EVEN.

===================================================================
+++ 20110412T183303Z
@@ 21808 @@
 - calls to_int on start and length arguments
 - removes and return elements in range
 - calls to_int on range arguments
+- returns last element for consecutive calls at zero index
 - does not expand array with indices out of bounds
 - does not expand array with negative indices out of bounds
 - raises a RuntimeError on a frozen array
@@ 22902 @@
 - accepts string sets with empty strings with {<string>,,<other>}
 - matches dot or non-dotfiles with '{,.}*'
 - respects the order of {} expressions, expanding left most first
+- respects the optional nested {} expressions
 - matches special characters by escaping with a backslash with '\<character>'
 - recursively matches directories with '**/<characters>'
 - preserves the separator between directory components
+- ignores matching through directories that doen't exist
+- ignores matching only directories under an nonexistant path
 
 Dir.[]
 - matches multiple recursives
@@ 22996 @@
 - accepts string sets with empty strings with {<string>,,<other>}
 - matches dot or non-dotfiles with '{,.}*'
 - respects the order of {} expressions, expanding left most first
+- respects the optional nested {} expressions
 - matches special characters by escaping with a backslash with '\<character>'
 - recursively matches directories with '**/<characters>'
 - preserves the separator between directory components
+- ignores matching through directories that doen't exist
+- ignores matching only directories under an nonexistant path
 
 Dir.glob
 - matches multiple recursives
@@ 23011 @@
 - matches both dot and non-dotfiles with '*' and option File::FNM_DOTMATCH
 - matches files with any beginning with '*<non-special characters>' and option File::FNM_DOTMATCH
 - matches any files in the current directory with '**' and option File::FNM_DOTMATCH
+- recursively matches any subdirectories except './' or '../' with '**/' from the current directory and option File::FNM_DOTMATCH
 - recursively matches any subdirectories except './' or '../' with '**/' and option File::FNM_DOTMATCH
 - accepts a block and yields it with each elements
 - matches the literal character '\' with option File::FNM_NOESCAPE
@@ 23722 @@
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/enumerable/include_spec.rb
 Enumerable#include?
+- returns true if any element == argument for numbers
+- returns true if any element == argument for other objects
 - returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/enumerable/inject_spec.rb
@@ 23765 @@
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/enumerable/member_spec.rb
 Enumerable#member?
+- returns true if any element == argument for numbers
+- returns true if any element == argument for other objects
 - returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/enumerable/min_by_spec.rb
@@ 25496 @@
 - accepts an object that has a #to_path method
 
 File#truncate
+- does not move the file write pointer to the specified byte offset
+- does not move the file read pointer to the specified byte offset
 - truncates a file
 - truncates a file size to 0
 - truncates a file size to 5
@@ 26711 @@
 Hash#reject
 - is equivalent to hsh.dup.delete_if
 - returns subclass instance for subclasses
+- taints the resulting hash
 - processes entries with the same order as reject!
 - returns an Enumerator if called on a non-empty hash without a block
 - returns an Enumerator if called on an empty hash without a block
@@ 26779 @@
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/hash/to_a_spec.rb
 Hash#to_a
 - returns a list of [key, value] pairs with same order as each()
+- is called for Enumerable#entries
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/hash/to_hash_spec.rb
 Hash#to_hash
@@ 27501 @@
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/io/putc_spec.rb
 IO#putc
+- calls #to_int to convert an object to a Integer
+- raises IOError on a closed stream
+- raises an TypeError when passed nil
+- raises an TypeError when passed false
+- raises an TypeError when passed true
 
+IO#putc with a Fixnum argument
+- writes one character as a String
+- writes the low byte as a String
 
+IO#putc with a String argument
+- writes one character
+- writes the first character
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/io/puts_spec.rb
 IO#puts
@@ 29286 @@
 - is a private instance method
 
 Kernel.putc
+- calls #to_int to convert an object to a Integer
+- raises IOError on a closed stream
+- raises an TypeError when passed nil
+- raises an TypeError when passed false
+- raises an TypeError when passed true
 
+Kernel.putc with a Fixnum argument
+- writes one character as a String
+- writes the low byte as a String
 
+Kernel.putc with a String argument
+- writes one character
+- writes the first character
 
 Kernel#putc
+- calls #to_int to convert an object to a Integer
+- raises IOError on a closed stream
+- raises an TypeError when passed nil
+- raises an TypeError when passed false
+- raises an TypeError when passed true
 
+Kernel#putc with a Fixnum argument
+- writes one character as a String
+- writes the low byte as a String
 
+Kernel#putc with a String argument
+- writes one character
+- writes the first character
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/kernel/puts_spec.rb
 Kernel#puts
@@ 30006 @@
 - dumps a Random
 - dumps a BasicObject subclass if it defines respond_to?
 
+Marshal.dump for an Integer
+- dumps an Integer 8
+- dumps and Integer -8
+- dumps an Integer 1234
+- dumps an Integer -1234
+- dumps an Integer 4611686018427387903
+- dumps an Integer -4611686018427387903
+- dumps an Integer 2361183241434822606847
+- dumps an Integer -2361183241434822606847
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/marshal/load_spec.rb
 Marshal::load
 - raises an ArgumentError when the dumped data is truncated
+- raises an ArgumentError when the dumped class is missing
 - returns the value of the proc when called with a proc
 - calls the proc for recursively visited data
 - loads a array containing objects having _dump method, and with proc
@@ 30132 @@
 - loads a Array subclass
 - loads a Random
 
+Marshal::load for an Array
 - loads a array containing the same objects
 - loads an array having ivar
 
+Marshal::load for a Hash
 - loads an extended_user_hash with a parameter to initialize
 - preserves hash ivars when hash contains a string having ivar
 
+Marshal::load for a String
 - loads a string having ivar with ref to self
 
+Marshal::load for a Struct
 - loads a extended_struct having fields with same objects
 - loads a struct having ivar
 - loads a struct having fields
 
+Marshal::load for a user Class
 - loads a user-marshaled extended object
 - loads a user_object
 - loads a object
 - loads an extended Object
 - loads a object having ivar
 
+Marshal::load for a Regexp
 - loads an extended Regexp
 - loads a extended_user_regexp having ivar
 
+Marshal::load for a Float
 - loads a Float NaN
 - loads a Float 1.3
 - loads a Float -5.1867345e-22
 - loads a Float 1.1867345e+22
 
+Marshal::load for a Integer
+- loads an Integer 8
+- loads and Integer -8
+- loads an Integer 1234
+- loads an Integer -1234
+- loads an Integer 4611686018427387903
+- loads an Integer -4611686018427387903
+- loads an Integer 2361183241434822606847
+- loads an Integer -2361183241434822606847
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/marshal/restore_spec.rb
 Marshal.restore
@@ 31131 @@
 - preserves ancestor order
 - detects cyclic includes
 - accepts no-arguments
+- returns the class it's included into
 - ignores modules it has already included via module mutual inclusion
 - clears any caches
 
@@ 38030 @@
 - or/and have higher precedence than if unless while until modifiers
 - if unless while until are non-associative
 
+/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/language/predefined/data_spec.rb
+The DATA constant
+- exists when the main script contains __END__
+- does not exist when the main script contains no __END__
+- does not exist when an included file has a __END__
+- does not change when an included files also has a __END__
+- is included in an otherwise empty file
 - succeeds in locking the file DATA came from
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/language/predefined_spec.rb
@@ 39162 @@
 - coerces arguments to BigDecimal if possible
 - raises TypeError if the argument cannot be coerced to BigDecimal
 
+/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/bigdecimal/round_spec.rb
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/bigdecimal/sign_spec.rb
 BigDecimal#sign
 - BigDecimal defines several constants for signs
@@ 41820 @@
 - raises an ArgumentError when called on a closed converter
 - when given a string or string-like parameter returns a converted version of it
 - keeps context between calls
+- when given a start and end position returns the substring
 - when given a negative start position counts from the end of string
 - when the end parameter is omitted or nil goes until the end of the string
 - when given a positive length
@@ 46263 @@
 - requires a hostname and a port as arguments
 - refuses the connection when there is no server to connect to
 
+TCPSocket.new with a running server
+- connects to a listening server with host and port
+- connects to a server when passed local_host argument
+- connects to a server when passed local_host and local_port arguments
 - has an address once it has connected to a listening server
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/socket/tcpsocket/open_spec.rb
@@ 46274 @@
 - requires a hostname and a port as arguments
 - refuses the connection when there is no server to connect to
 
+TCPSocket.open with a running server
+- connects to a listening server with host and port
+- connects to a server when passed local_host argument
+- connects to a server when passed local_host and local_port arguments
 - has an address once it has connected to a listening server
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/socket/tcpsocket/partially_closable_spec.rb
@@ 46285 @@
 - if the write end is closed then the other side can read past EOF without blocking
 - closing the write end ensures that the other side can read until EOF
 
+/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/socket/tcpsocket/recv_nonblock_spec.rb
+TCPSocket#recv_nonblock
+- returns a String read from the socket
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/socket/udpsocket/bind_spec.rb
 UDPSocket.bind
@@ 47862 @@
 - works on complex keys
 - loads a symbol key that contains spaces
 
+YAML.load with iso8601 timestamp
+- computes the microseconds
+- rounds values smaller than 1 usec to 0  (FAILED - <n>)
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/yaml/load_stream_spec.rb
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/yaml/object_maker_spec.rb
@@ 48135 @@
 
 C-API Array function rb_ary_reverse
 - reverses the order of elements in the array
+- returns the original array
 
 C-API Array function rb_ary_entry
 - returns nil when passed an empty array
@@ 48203 @@
 - returns nil if the index is out of bounds
 - returns nil if the negative index is out of bounds
 
+C-API Array function rb_ary_to_ary with an array
+- returns the given array
 
+C-API Array function rb_ary_to_ary with an object that responds to to_ary
+- calls to_ary on the object
 
+C-API Array function rb_ary_to_ary with an object that responds to to_a
+- returns the original object in an array
 
+C-API Array function rb_ary_to_ary with an object that doesn't respond to to_ary
+- returns the original object in an array
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/optional/capi/bignum_spec.rb
 CApiBignumSpecs rb_big2long
@@ 48451 @@
 
 C-API IO function rb_io_check_readable
 - does not raise an exception if the IO is opened for reading
+- does not raise an exception if the IO is opened for read and write
 - raises an IOError if the IO is not opened for reading
 
 C-API IO function rb_io_check_writable
 - does not raise an exeption if the IO is opened for writing
+- does not raise an exception if the IO is opened for read and write
 - raises an IOError if the IO is not opened for reading
 
 C-API IO function rb_io_wait_writeable
@@ 48599 @@
 CApiModule rb_define_alias
 - defines an alias for an existing method
 
+CApiModule rb_alias
 - defines an alias for an existing method
 
 CApiModule rb_define_global_function
@@ 48944 @@
 
 C-API Struct function rb_struct_aref
 - returns the value of a struct member with a symbol key
+- returns the value of a struct member with a string key
 - returns the value of a struct member by index
 - raises a NameError if the struct member does not exist
 
+C-API Struct function rb_struct_getmember
+- returns the value of a struct member
 - raises a NameError if the struct member does not exist
 
 C-API Struct function rb_struct_aset
@@ 49119 @@
 
  <n>)
 File::Stat#inspect produces a nicely formatted description of a File::Stat object FAILED
+Expected "#<File::Stat dev=0x0, ino=5702580, mode=0100644, nlink=1, uid=110, gid=101, rdev=0x0, size=8, blksize=4096, blocks=8, atime=2011-04-13 04:24:48 +0900, mtime=2011-04-13 04:24:48 +0900, ctime=2011-04-13 04:24:48 +0900>"
+to equal "#<File::Stat dev=0x803, ino=5702580, mode=0100644, nlink=1, uid=110, gid=101, rdev=0x0, size=8, blksize=4096, blocks=8, atime=2011-04-13 04:24:48 +0900, mtime=2011-04-13 04:24:48 +0900, ctime=2011-04-13 04:24:48 +0900>"
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/file/stat/inspect_spec.rb:17:in `block (2 levels) in <top (required)>'
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/file/stat/inspect_spec.rb:3:in `<top (required)>'
@@ 49195 @@
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/syslog/constants_spec.rb:4:in `<top (required)>'
 
  <n>)
+YAML.load with iso8601 timestamp rounds values smaller than 1 usec to 0  FAILED
+Expected 342222
+ to equal 0
 
+/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/yaml/load_spec.rb:101:in `block (4 levels) in <top (required)>'
+/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/yaml/load_spec.rb:5:in `<top (required)>'
 
  <n>)
 CApiTimeSpecs rb_time_new creates a Time from the sec and usec FAILED
@@ 49212 @@
 
 Finished in <t> seconds
 
+3332 files, 17348 examples, <num> expectations, 20 failures, 1 error
 exit 1
 failed(rubyspec)
 == dist # <time>

===================================================================
--- 20110411T183304Z
@@ 23714 @@
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/enumerable/include_spec.rb
 Enumerable#include?
-- returns true if any element == argument
 - returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/enumerable/inject_spec.rb
@@ 23756 @@
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/enumerable/member_spec.rb
 Enumerable#member?
-- returns true if any element == argument
 - returns true if any member of enum equals obj when == compare different classes (legacy rubycon)
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/enumerable/min_by_spec.rb
@@ 27076 @@
 - copies from a named file to an IO instance
 - copies from an IO instance to an IO instance
 
-/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/io/data/data_spec.rb
-DATA
-- presents $0 file data after __END__ as a File object
 
-DATA
-- may be included in an empty script
 
-/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/io/data/flock_spec.rb
-DATA.flock
 - succeeds in locking the file DATA came from
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/io/dup_spec.rb
@@ 27499 @@
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/io/putc_spec.rb
 IO#putc
 - raises IOError on closed stream
-- writes the first byte of a String
-- calls #to_int on a non-Integer and writes the first byte of the value
-- writes a Numeric that fits in a byte
-- write the first byte of a Numeric that does not fit in a byte
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/io/puts_spec.rb
 IO#puts
@@ 29892 @@
 - 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
@@ 29976 @@
 - 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
@@ 30107 @@
 - returns a trusted object if source is trusted
 - returns an untrusted object if source is untrusted
 
-Marshal.load
 - needs to be reviewed for spec completeness
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/marshal/restore_spec.rb
@@ 38052 @@
 - raises a SyntaxError if assigned to
 
 The predefined global constants
-- includes DATA when main script contains __END__
-- does not include DATA when main script contains no __END__
 - includes TRUE
 - includes FALSE
 - includes NIL
@@ 46187 @@
 TCPSocket.new
 - requires a hostname and a port as arguments
 - refuses the connection when there is no server to connect to
-- connects to a listening server
 - has an address once it has connected to a listening server
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/socket/tcpsocket/open_spec.rb
 TCPSocket.open
 - requires a hostname and a port as arguments
 - refuses the connection when there is no server to connect to
-- connects to a listening server
 - has an address once it has connected to a listening server
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/socket/tcpsocket/partially_closable_spec.rb
@@ 49006 @@
 
  <n>)
 File::Stat#inspect produces a nicely formatted description of a File::Stat object FAILED
-Expected "#<File::Stat dev=0x0, ino=26026804, mode=0100644, nlink=1, uid=110, gid=101, rdev=0x0, size=8, blksize=4096, blocks=8, atime=2011-04-12 04:24:26 +0900, mtime=2011-04-12 04:24:26 +0900, ctime=2011-04-12 04:24:26 +0900>"
-to equal "#<File::Stat dev=0x803, ino=26026804, mode=0100644, nlink=1, uid=110, gid=101, rdev=0x0, size=8, blksize=4096, blocks=8, atime=2011-04-12 04:24:26 +0900, mtime=2011-04-12 04:24:26 +0900, ctime=2011-04-12 04:24:26 +0900>"
 
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/file/stat/inspect_spec.rb:17:in `block (2 levels) in <top (required)>'
 /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/file/stat/inspect_spec.rb:3:in `<top (required)>'
@@ 49091 @@
 
 Finished in <t> seconds
 
-3331 files, 17280 examples, <num> expectations, 19 failures, 1 error
 exit 1
 failed(rubyspec)
 == dist # <time>

OlderDiff < 20110411T183304Z < ThisDiff > 20110412T183303Z > NewerDiff


chkbuild summary recent last