COMMIT adding more descriptive samples and fixing some typos in File.new specs http://github.com/rubyspec/rubyspec/commit/05f527ca32421adf6f07edfeca9c7158bdc74328 --- 20091121T082502 +++ 20091122T082503 @@ -1,5850 +1,5850 @@ test_enclosed_thgroup(TestThreadGroup): . test_frozen_thgroup(TestThreadGroup): . test_thread_init(TestThreadGroup): . -test_uninitialized(TestThreadGroup): . +test_uninitialized(TestThreadGroup): F test_at(TestTime): . test_huge_difference(TestTime): . test_time_add(TestTime): . @@ -6454,7 +6454,17 @@ /home/chkbuild/tmp/build/ruby-1.8//ruby/test/ruby/test_thread.rb:434:in `join' /home/chkbuild/tmp/build/ruby-1.8//ruby/test/ruby/test_thread.rb:434:in `test_backtrace' -2348 tests, 1671524 assertions, 4 failures, 1 errors + ) Failure: +test_uninitialized(TestThreadGroup) [/home/chkbuild/tmp/build/ruby-1.8//ruby/test/ruby/test_thread.rb:430]: + exception expected but was +Class: +Message: <"undefined method `start' for #<#>:0x
run>"> +---Backtrace--- +/home/chkbuild/tmp/build/ruby-1.8//ruby/test/ruby/test_thread.rb:430:in `test_uninitialized' +/home/chkbuild/tmp/build/ruby-1.8//ruby/test/ruby/test_thread.rb:430:in `test_uninitialized' +--------------- + +2348 tests, 1671524 assertions, 5 failures, 1 errors make: *** [test-all] エラー 1 exit 2 failed(test-all) @@ -10145,19 +10155,22 @@ /home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/file/new_spec.rb File.new -- return a new File with mode string -- return a new File with mode num -- return a new File with modus num and permissions +- returns a new File with mode string +- returns a new File with mode num +- returns a new File with modus num and permissions - creates the file and returns writable descriptor when called with 'w' mode and r-o permissions - opens the existing file, does not change permissions even when they are specified -- return a new File with modus fd -- create a new file when use File::EXCL mode +- returns a new File with modus fd +- creates a new file when use File::EXCL mode - raises an Errorno::EEXIST if the file exists when create a new file with File::CREAT|File::EXCL -- create a new file when use File::WRONLY|File::APPEND mode +- creates a new file when use File::WRONLY|File::APPEND mode - raises an Errno::EINVAL error with File::RDONLY|File::WRONLY -- create a new file when use File::WRONLY|File::TRUNC mode +- creates a new file when use File::WRONLY|File::TRUNC mode - coerces filename using to_str -- expected errors +- raises a TypeError if the first parameter can't be coerced to a string +- raises a TypeError if the first parameter is nil +- raises an Errno::EBADF if the first parameter is an invalid file descriptor +- raises an ArgumentError when it receives more than three parameters - opens directories /home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/file/open_spec.rb @@ -33672,7 +33685,7 @@ Finished in seconds -2902 files, 11595 examples, 36325 expectations, 98 failures, 87 errors +2902 files, 11598 examples, 36325 expectations, 98 failures, 87 errors exit 1 failed(rubyspec) == end #