COMMIT [NARUSE, Yui] 1.9's BigDecimal's precision depends SIZEOF_BDIGITS. http://github.com/rubyspec/rubyspec/commit/2bf8fad059440268898c89a1c80711c8a7713df2 COMMIT [Brian Ford] Pull in Thread specs that changed on hydra branch. http://github.com/rubyspec/rubyspec/commit/afb306fb2b2af48fedddd3c3e2db8dc6d882e68c COMMIT [Dirkjan Bussink] Add spec for constant name setting behavior for Class#dup http://github.com/rubyspec/rubyspec/commit/e25589b07ff796beeadeef212a36e20d7623cd3c COMMIT [Chris Bunch] added rubyspec test case to ensure that we test for string ports in the future http://github.com/rubyspec/rubyspec/commit/bdcaacb12e97fdb960c05936626ee4c2e83212f5 COMMIT [Dirkjan Bussink] Add case for instance_methods when fiddling with public / private http://github.com/rubyspec/rubyspec/commit/d21cd8f13177531de28ab2efcb40a426653922c0 COMMIT [Evan Phoenix] Add additional spec for Enumerable#cycle http://github.com/rubyspec/rubyspec/commit/3a165f7bbce3815d5b3b0cf6f0f80fc65d2f0865 COMMIT [Evan Phoenix] Cleanup Kernel, part deux http://github.com/rubyspec/rubyspec/commit/6e4cdb85735d4f5d33d21ea8e831404307ddb44a COMMIT [Evan Phoenix] Some Process spec cleanup and coerce tests added http://github.com/rubyspec/rubyspec/commit/d8c245caa9e1d78f285cc2956f7a99d9941731eb COMMIT [Evan Phoenix] Increase the tolerance of an IO.select spec http://github.com/rubyspec/rubyspec/commit/e763dececfa045ed9107e8d72c25e2b3a99f7970 COMMIT [Brian Ford] Some cleanup for File.directory? specs. http://github.com/rubyspec/rubyspec/commit/deb78d67886a8e0ade0efc4d8ff1c63d19b93470 COMMIT [jc00ke] Added specs for File.directory? with non-strings. http://github.com/rubyspec/rubyspec/commit/ed95666d6adcd1205eb12cb35f80708303bf36fb COMMIT [Brian Ford] More fixes for File|FileTest.directory? and File::Stat#directory? specs. http://github.com/rubyspec/rubyspec/commit/cc77c9edd0d023b31dc6d72a904599c692e1ee0c COMMIT [Evan Phoenix] Add a spec for Object.const_defined? + included Modules http://github.com/rubyspec/rubyspec/commit/b614d133ce35078997a59f5d964a9c5f8accaaa2 COMMIT [Gibheer] tests for DateTime#hour, #min, #minute, #sec, #second http://github.com/rubyspec/rubyspec/commit/300721a3bee8e4871caa5638c2156e6f4fa64f1d COMMIT [Gibheer] use different values, so that it won't be confused with the expected value http://github.com/rubyspec/rubyspec/commit/9a8de150bbddc7e3fb3ea406109ba16cc115fa2d COMMIT [Evan Phoenix] Add dummy P rules for pack/unpack http://github.com/rubyspec/rubyspec/commit/711e6da218568c0f1d339a38220f8352c78ede29 COMMIT [Evan Phoenix] Handle reopening a module that was included into Object. Fixes #883 http://github.com/rubyspec/rubyspec/commit/25c6151b78e88aebe2187750a9e1d0265ef37ce6 COMMIT [Evan Phoenix] Add spec for Time.at and subclasses http://github.com/rubyspec/rubyspec/commit/d948390445feec1340a6e3a4c025abbd12a18d3b COMMIT [Evan Phoenix] Add more Time specs to clarify where subclasses are honored http://github.com/rubyspec/rubyspec/commit/5b80e3bc82952a9e94de107e750a7f6dfe8b1aea COMMIT [Evan Phoenix] Remove rubinius devation spec http://github.com/rubyspec/rubyspec/commit/1b9a09d2bc277e09d7053e093a39d25132fc69fa COMMIT [Gibheer] added a new spec for Array#sort to catch block returning nil http://github.com/rubyspec/rubyspec/commit/8e7f3a9cd75d79dfec7536e6a3ed73e640e475f8 COMMIT [Evan Phoenix] Add specs for special operator's symbol values http://github.com/rubyspec/rubyspec/commit/77904e1356a2dd2a9420afd3601e9991b76db713 COMMIT [Brian Ford] Fixed special symbol specs for 1.9. http://github.com/rubyspec/rubyspec/commit/7959b090eb6e2117c2c3281171b258dcda8b90b7 COMMIT [Evan Phoenix] Add spec for %s with space leader and width http://github.com/rubyspec/rubyspec/commit/14af64c2b568b3a82be28b994fef9336d77f272d COMMIT [Evan Phoenix] Add specs for -s http://github.com/rubyspec/rubyspec/commit/cdc0f3ea7a681274ea8b4f5c55a136cad10eb7ed COMMIT [Brian Ford] More C-API specs for rb_num2long and rb_num2ulong. http://github.com/rubyspec/rubyspec/commit/16737bc67c88dd7c7a358b80e24caa51651f3c5d COMMIT [Dirkjan Bussink] Add specs for rb_check_to_integer http://github.com/rubyspec/rubyspec/commit/dd3eee8b340137c1159d268abc42d6e86a081a18 COMMIT [Victor Costan] New examples for IO.ioctl http://github.com/rubyspec/rubyspec/commit/452d73ea809d74415522eb0533435ef3f9baa2db COMMIT [Evan Phoenix] Don't depend on TTY ioctls for testing http://github.com/rubyspec/rubyspec/commit/10467acfab0cf3b822069d823d9aeafd95c9a4be COMMIT [Victor Costan] Another test for IO.ioctl that verifies String buffer handling. http://github.com/rubyspec/rubyspec/commit/00c8390f2544a4174a9e781e2df8478c9379009a COMMIT [Evan Phoenix] Fix up specs for Thread.new, .start, and .fork http://github.com/rubyspec/rubyspec/commit/a4e46cd0b4b9e691b0b8d9991d1292964ef62ee5 COMMIT [Evan Phoenix] Fix some naming to be clearer http://github.com/rubyspec/rubyspec/commit/8df9602957d8d84a69c158a3466d1ec76cd378cb COMMIT [Wim Looman] Added spec for #1005 http://github.com/rubyspec/rubyspec/commit/f4ef230a247b87e9f10c320e7056d7b18e7cbec9 COMMIT [Maximilian Lupke] Add spec for issue #988 http://github.com/rubyspec/rubyspec/commit/33f880717f51f17b2e23a8ef4acf4057b975788c COMMIT [Maximilian Lupke] Oops, typo in spec http://github.com/rubyspec/rubyspec/commit/fd5aa8cef9e88650bea8253036cf246e44c9d4b8 COMMIT [Maximilian Lupke] Make CGI specs pass http://github.com/rubyspec/rubyspec/commit/cda18a03306fb855bbffb220eb4952f47bd8dbbc COMMIT [Brian Ford] Clean up whitespace. http://github.com/rubyspec/rubyspec/commit/43840792c678696a042fd9d75fe0ffb42913f241 COMMIT [Evan Phoenix] Add a few more weird []= splat specs http://github.com/rubyspec/rubyspec/commit/1e6eefbd43bf0cd58fc290b94986f6ce61d7b60c COMMIT [Evan Phoenix] Clean up language/method_spec.rb http://github.com/rubyspec/rubyspec/commit/06336431c37ffea91c11cae6012c00606e19116f COMMIT [Flavio Castelli] Add spec for File.owned? and fix a bug http://github.com/rubyspec/rubyspec/commit/f5139e0cbc7eb0e30c9af01736b930da7891f14d COMMIT [Flavio Castelli] Add spec for File.pipe? http://github.com/rubyspec/rubyspec/commit/ca98075349c037f8c45f167b918f07acf9dae295 COMMIT [Flavio Castelli] Add spec for File.socket? http://github.com/rubyspec/rubyspec/commit/e365943f51630716a9b7427ac215cb695f772bac COMMIT [Flavio Castelli] Add spec for File.sticky? http://github.com/rubyspec/rubyspec/commit/1c569a76f013a1b6a4aac2c4f4f003de26a7a6f5 COMMIT [Flavio Castelli] Add spec for File::Stat.owned? http://github.com/rubyspec/rubyspec/commit/9f56800a6877dac71f59e87e6025b7fae33a5fea COMMIT [Flavio Castelli] Add spec for File::Spec.pipe? http://github.com/rubyspec/rubyspec/commit/276e46b83c9998915374c6e2f457b41e29bc6d9b COMMIT [burningTyger] added spec for IO#each http://github.com/rubyspec/rubyspec/commit/5da5daaec9f49297d537b4b7379ab5327467e234 COMMIT [Brian Ford] Fixed Method#parameters fixture for 1.9. http://github.com/rubyspec/rubyspec/commit/9a495dbdfcbacf290ca764b128b92a2b1a5c63bc COMMIT [Brian Ford] Apply Evan's cleanup patch from rbx b358be04. http://github.com/rubyspec/rubyspec/commit/83fd62c0466de8c88928b927324079d7ba93419e COMMIT [Brian Ford] Fixed incorrect placement of describe end in db922f3d. http://github.com/rubyspec/rubyspec/commit/10efcf3f6fb0749656f4731791431e22b53ebcfb COMMIT [Brian Ford] Fixed Class#dup name spec. http://github.com/rubyspec/rubyspec/commit/299aeeed55b38605c65d23e4bb6f16080443b6d6 COMMIT [NARUSE, Yui] Fix platform dependent issue of sticky bit. http://github.com/rubyspec/rubyspec/commit/a7d10d81aa5b4d05ead85c40817b45e5eba74366 COMMIT [NARUSE, Yui] On 1.9, it raises a ArgumentError if not passed a block. http://github.com/rubyspec/rubyspec/commit/320a90ce31ec70c21286e64206d0eae4c2fa61c3 COMMIT [NARUSE, Yui] BigDecimal depends sizeof int/long long from 1.9.3. http://github.com/rubyspec/rubyspec/commit/e4602d11fbed0c137d0dc7c0a523860a5e84c476 COMMIT [NARUSE, Yui] Use valid offset for datetime. http://github.com/rubyspec/rubyspec/commit/ff98dec1239e29eb7305e2e83040b52971b17a32 =================================================================== +++ 20110621T073704Z @@ 7508 @@ The -r command line option - requires the specified file +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/command_line/dash_s_spec.rb +The -s command line option when using -- to stop parsing +- sets the value to true without an explicit value +- parses single letter args into globals +- parses long args into globals +- converts extra dashes into underscorse +The -s command line option when running a script +- sets the value to true without an explicit value +- parses single letter args into globals +- parses long args into globals +- converts extra dashes into underscorse /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/command_line/dash_upper_i_spec.rb The -I command line option @@ 10096 @@ - behaves like with count == 0 with star parameter - doesn't increment the array index count +Array#pack with format 'P' +- returns a String who's size is equal to the number of bytes in a machine word String#unpack with 'w' directive - produces a BER-compressed integer @@ 10369 @@ - uses #<=> of elements in order to sort - does not deal with exceptions raised by unimplemented or incorrect #<=> - may take a block which is used to determine the order of objects a and b described as -1, 0 or +1 +- raises an error when a given block returns nil - does not call #<=> on contained objects when invoked with a block - does not call #<=> on elements when invoked with a block even if Array is large (Rubinius #412) - completes when supplied a block that always returns the same result @@ 10823 @@ Class#dup - duplicates both the class and the singleton class - retains the correct ancestor chain for the singleton class +- sets the name from the class to "" if not assigned to a constant +- stores the new name if assigned to a constant /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/class/inherited_spec.rb Class.inherited @@ 11326 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/enumerable/cycle_spec.rb Enumerable#cycle - loops indefinitely if no argument or nil argument +- returns if there are no elements - yields successive elements of the array repeatedly Enumerable#cycle passed a number n as an argument @@ 12260 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/file/directory_spec.rb File.directory? +- return true if the argument is a directory +- returns false if the argument is not a directory - raises a TypeError when passed an Integer - raises a TypeError when passed nil File.directory? +- returns false if the argument is an IO that's not a directory +- return true if the argument is an IO that is a directory +- calls #to_io to convert a non-IO object +- raises a TypeError when passed a Dir instance /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/file/dirname_spec.rb File.dirname @@ 12601 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/file/owned_spec.rb File.owned? +- returns false if file does not exist +- returns true if the file exist and is owned by the user +- returns false when the file is not owned by the user /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/file/path_spec.rb File#path @@ 12611 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/file/pipe_spec.rb File.pipe? +- returns false if file does not exist +- returns false if the file is not a pipe +- returns true if the file is a pipe /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/file/read_spec.rb File.read @@ 12691 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/file/socket_spec.rb File.socket? +- returns false if file does not exist +- returns false if the file is not a socket +- returns true if the file is a socket /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/file/split_spec.rb File.split @@ 12750 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/file/stat/directory_spec.rb File::Stat#directory? +- return true if the argument is a directory +- returns false if the argument is not a directory - raises a TypeError when passed an Integer - raises a TypeError when passed nil @@ 12822 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/file/stat/owned_spec.rb File::Stat#owned? +- returns true if the file is owned by the user +- returns false if the file is not owned by the user /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/file/stat/pipe_spec.rb File::Stat#pipe? +- returns false if the file is not a pipe +- returns true if the file is a pipe /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/file/stat/rdev_major_spec.rb File::Stat#rdev_major @@ 12928 @@ - returns false if the file dies not exist File.sticky? +- returns false if file does not exist +- returns false if the file has not sticky bit set +- returns true if the file has sticky bit set /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/file/symlink_spec.rb File.symlink @@ 13030 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/filetest/directory_spec.rb FileTest.directory? +- return true if the argument is a directory +- returns false if the argument is not a directory - raises a TypeError when passed an Integer - raises a TypeError when passed nil FileTest.directory? +- returns false if the argument is an IO that's not a directory +- return true if the argument is an IO that is a directory +- calls #to_io to convert a non-IO object +- raises a TypeError when passed a Dir instance /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/filetest/executable_real_spec.rb FileTest.executable_real? @@ 14283 @@ - does not change $_ - returns self - raises an IOError when self is not readable +- makes line count accessible via lineno +- makes line count accessible via $. - returns an Enumerator when passed no block IO#each_line when passed a String containing one space as a separator @@ 14309 @@ - does not change $_ - returns self - raises an IOError when self is not readable +- makes line count accessible via lineno +- makes line count accessible via $. - returns an Enumerator when passed no block IO#each when passed a String containing one space as a separator @@ 16801 @@ - loads a array containing objects having _dump method, and with proc - loads an array containing objects having marshal_dump method, and with proc - loads an Array with proc +- assigns classes to nested subclasses of Array correctly - raises a TypeError with bad Marshal version - raises EOFError on loading an empty file - returns an untainted object if source is untainted @@ 17532 @@ - returns false if the constant is not defined in the receiver - does not call #const_missing if the constant is not defined in the receiver - calls #to_str to convert the given name to a String +- special cases Object and checks it's included Modules - raises a NameError if the name does not start with a capital letter - raises a NameError if the name starts with a non-alphabetic character - raises a NameError if the name contains non-alphabetic characters except '_' @@ 18555 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/process/getpgid_spec.rb Process.getpgid +- coerces the argument to an Integer - returns the process group ID for the given process id - returns the process group ID for the calling process id when passed 0 @@ 18565 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/process/getpriority_spec.rb Process.getpriority +- coerces arguments to Integers - gets the scheduling priority for a specified process - gets the scheduling priority for a specified process group - gets the scheduling priority for a specified user @@ 18671 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/process/setrlimit_spec.rb Process.setrlimit and Process.getrlimit +- coerces arguments to Integers - limit and get core size (bytes) - limit and get CPU time (seconds) - limit and get data segment (bytes) @@ 18888 @@ - sets $? to a Process::Status - waits for any child process if no pid is given - waits for a specific child if a pid is given +- coerces the pid to an Integer - waits for a child whose process group ID is that of the calling process - doesn't block if no child is available when WNOHANG is used - always accepts flags=0 @@ 19821 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/string/intern_spec.rb String#intern - returns the symbol corresponding to self +- special cases +(binary) and -(binary) +- special cases !@ and ~@ +- special cases !(unary) and ~(unary) +- special cases +(unary) and -(unary) - raises an ArgumentError when self can't be converted to symbol /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/string/length_spec.rb @@ 19948 @@ - calls inspect on arguments for %p format - taints result for %p when argument.inspect is tainted - supports string formats using %s +- respects a space padding request not as part of the width - calls to_s on non-String arguments for %s format - taints result for %s when argument is tainted - raises an ArgumentError for huge precisions for %s @@ 20064 @@ - always returns 3 elements - accepts regexp - raises error if not convertible to string +- takes precedence over a given block String#partition with a block - is still available @@ 20527 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/string/to_sym_spec.rb String#to_sym - returns the symbol corresponding to self +- special cases +(binary) and -(binary) +- special cases !@ and ~@ +- special cases !(unary) and ~(unary) +- special cases +(unary) and -(unary) - raises an ArgumentError when self can't be converted to symbol /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/string/tr_s_spec.rb @@ 21408 @@ String#unpack with 'w' directive - produces a BER-compressed integer +String#unpack with 'P' directive +- returns a random object after consume a words worth of byte /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/string/upcase_spec.rb String#upcase @@ 21777 @@ - describes a thread with an uncaught exception - describes a dying running thread - describes a dying sleeping thread +- return true for a killed but still running threadtimeout: output interval exceeds 1200.0 seconds. timeout: the process group is alive. timeout: INT signal sent. |output interval exceeds 1200.0 seconds. (CommandTimeout) @@ 21887 @@ Finished in seconds 1 file, 1 example, expectation, 0 failures, 0 errors +== rubyspec/command_line/dash_s_spec.rb #