Skip to content

Instantly share code, notes, and snippets.

@chanks
Created August 5, 2010 18:03
Show Gist options
  • Save chanks/510115 to your computer and use it in GitHub Desktop.
Save chanks/510115 to your computer and use it in GitHub Desktop.
1)
File.read raises a Errno::EISDIR when passed a path that is a directory FAILED
Expected Errno::EISDIR but got Errno::EINVAL (Invalid argument - read(2) failed)
{ } in main.__script__ at spec/ruby/core/file/shared/read.rb:6
Kernel(Object)#instance_eval at kernel/common/eval.rb:158
{ } in Enumerable(Array)#all? at kernel/common/enumerable.rb:205
Array#each at kernel/bootstrap/array.rb:163
Enumerable(Array)#all? at kernel/common/enumerable.rb:205
Array#each at kernel/bootstrap/array.rb:163
main.__script__ at spec/ruby/core/file/read_spec.rb:4
Kernel.load at kernel/common/kernel.rb:651
Kernel(Object)#instance_eval at kernel/common/eval.rb:158
Array#each at kernel/bootstrap/array.rb:163
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:91
Rubinius::Loader#script at kernel/loader.rb:435
Rubinius::Loader#main at kernel/loader.rb:527
Rubinius::Loader.main at kernel/loader.rb:564
Object#__script__ at kernel/loader.rb:576
2)
Digest::MD5.file raises a Errno::EISDIR when passed a path that is a directory FAILED
Expected Errno::EISDIR but got Errno::EINVAL (Invalid argument - read(2) failed)
{ } in main.__script__ at spec/ruby/core/file/shared/read.rb:6
Kernel(Object)#instance_eval at kernel/common/eval.rb:158
{ } in Enumerable(Array)#all? at kernel/common/enumerable.rb:205
Array#each at kernel/bootstrap/array.rb:163
Enumerable(Array)#all? at kernel/common/enumerable.rb:205
Array#each at kernel/bootstrap/array.rb:163
main.__script__ at spec/ruby/library/digest/md5/file_spec.rb:5
Kernel.load at kernel/common/kernel.rb:651
Kernel(Object)#instance_eval at kernel/common/eval.rb:158
Array#each at kernel/bootstrap/array.rb:163
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:91
Rubinius::Loader#script at kernel/loader.rb:435
Rubinius::Loader#main at kernel/loader.rb:527
Rubinius::Loader.main at kernel/loader.rb:564
Object#__script__ at kernel/loader.rb:576
3)
Digest::SHA1.file raises a Errno::EISDIR when passed a path that is a directory FAILED
Expected Errno::EISDIR but got Errno::EINVAL (Invalid argument - read(2) failed)
{ } in main.__script__ at spec/ruby/core/file/shared/read.rb:6
Kernel(Object)#instance_eval at kernel/common/eval.rb:158
{ } in Enumerable(Array)#all? at kernel/common/enumerable.rb:205
Array#each at kernel/bootstrap/array.rb:163
Enumerable(Array)#all? at kernel/common/enumerable.rb:205
Array#each at kernel/bootstrap/array.rb:163
main.__script__ at spec/ruby/library/digest/sha1/file_spec.rb:4
Kernel.load at kernel/common/kernel.rb:651
Kernel(Object)#instance_eval at kernel/common/eval.rb:158
Array#each at kernel/bootstrap/array.rb:163
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:91
Rubinius::Loader#script at kernel/loader.rb:435
Rubinius::Loader#main at kernel/loader.rb:527
Rubinius::Loader.main at kernel/loader.rb:564
Object#__script__ at kernel/loader.rb:576
4)
Digest::SHA256.file raises a Errno::EISDIR when passed a path that is a directory FAILED
Expected Errno::EISDIR but got Errno::EINVAL (Invalid argument - read(2) failed)
{ } in main.__script__ at spec/ruby/core/file/shared/read.rb:6
Kernel(Object)#instance_eval at kernel/common/eval.rb:158
{ } in Enumerable(Array)#all? at kernel/common/enumerable.rb:205
Array#each at kernel/bootstrap/array.rb:163
Enumerable(Array)#all? at kernel/common/enumerable.rb:205
Array#each at kernel/bootstrap/array.rb:163
main.__script__ at spec/ruby/library/digest/sha256/file_spec.rb:4
Kernel.load at kernel/common/kernel.rb:651
Kernel(Object)#instance_eval at kernel/common/eval.rb:158
Array#each at kernel/bootstrap/array.rb:163
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:91
Rubinius::Loader#script at kernel/loader.rb:435
Rubinius::Loader#main at kernel/loader.rb:527
Rubinius::Loader.main at kernel/loader.rb:564
Object#__script__ at kernel/loader.rb:576
5)
Digest::SHA384.file raises a Errno::EISDIR when passed a path that is a directory FAILED
Expected Errno::EISDIR but got Errno::EINVAL (Invalid argument - read(2) failed)
{ } in main.__script__ at spec/ruby/core/file/shared/read.rb:6
Kernel(Object)#instance_eval at kernel/common/eval.rb:158
{ } in Enumerable(Array)#all? at kernel/common/enumerable.rb:205
Array#each at kernel/bootstrap/array.rb:163
Enumerable(Array)#all? at kernel/common/enumerable.rb:205
Array#each at kernel/bootstrap/array.rb:163
main.__script__ at spec/ruby/library/digest/sha384/file_spec.rb:4
Kernel.load at kernel/common/kernel.rb:651
Kernel(Object)#instance_eval at kernel/common/eval.rb:158
Array#each at kernel/bootstrap/array.rb:163
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:91
Rubinius::Loader#script at kernel/loader.rb:435
Rubinius::Loader#main at kernel/loader.rb:527
Rubinius::Loader.main at kernel/loader.rb:564
Object#__script__ at kernel/loader.rb:576
6)
Digest::SHA512.file raises a Errno::EISDIR when passed a path that is a directory FAILED
Expected Errno::EISDIR but got Errno::EINVAL (Invalid argument - read(2) failed)
{ } in main.__script__ at spec/ruby/core/file/shared/read.rb:6
Kernel(Object)#instance_eval at kernel/common/eval.rb:158
{ } in Enumerable(Array)#all? at kernel/common/enumerable.rb:205
Array#each at kernel/bootstrap/array.rb:163
Enumerable(Array)#all? at kernel/common/enumerable.rb:205
Array#each at kernel/bootstrap/array.rb:163
main.__script__ at spec/ruby/library/digest/sha512/file_spec.rb:4
Kernel.load at kernel/common/kernel.rb:651
Kernel(Object)#instance_eval at kernel/common/eval.rb:158
Array#each at kernel/bootstrap/array.rb:163
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:91
Rubinius::Loader#script at kernel/loader.rb:435
Rubinius::Loader#main at kernel/loader.rb:527
Rubinius::Loader.main at kernel/loader.rb:564
Object#__script__ at kernel/loader.rb:576
Finished in 223.317565 seconds
3508 files, 15019 examples, 42845 expectations, 6 failures, 0 errors
rake aborted!
Command failed with status (1): [bin/mspec ci --background --agent...]
/home/chris/rubinius/Rakefile:47
(See full trace by running task with --trace)
chris@delacroix:~/rubinius$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment