[RubySpec] IO spec failures
---------------------------
Key: JRUBY-4689
URL: http://jira.codehaus.org/browse/JRUBY-4689
Project: JRuby
Issue Type: Bug
Components: RubySpec
Affects Versions: JRuby 1.5
Environment: github trunk, Mac OS X 10.6.3, Java 6
Reporter: Hiro Asari
New failures in IO specs, which are already tagged.
{noformat}
2)
IO.foreach when the filename starts with | gets data from the standard out of
the subprocess ERROR
Errno::ENOENT: No such file or directory - |sh -c 'echo hello;echo line2'
/Users/asari/Development/src/jruby/spec/ruby/core/io/foreach_spec.rb:112:in
`initialize'
/Users/asari/Development/src/jruby/spec/ruby/core/io/foreach_spec.rb:112:in
`foreach'
/Users/asari/Development/src/jruby/spec/ruby/core/io/foreach_spec.rb:112
/Users/asari/Development/src/jruby/spec/ruby/core/io/foreach_spec.rb:5
/Users/asari/Development/src/jruby/spec/ruby/core/io/foreach_spec.rb:56:in
`load'
3)
IO.foreach when the filename starts with | gets data from a fork when passed -
ERROR
Errno::ENOENT: No such file or directory - |-
/Users/asari/Development/src/jruby/spec/ruby/core/io/foreach_spec.rb:119:in
`initialize'
/Users/asari/Development/src/jruby/spec/ruby/core/io/foreach_spec.rb:119:in
`foreach'
/Users/asari/Development/src/jruby/spec/ruby/core/io/foreach_spec.rb:119
/Users/asari/Development/src/jruby/spec/ruby/core/io/foreach_spec.rb:5
/Users/asari/Development/src/jruby/spec/ruby/core/io/foreach_spec.rb:56:in
`load'
4)
IO.popen starts returns a forked process if the command is - ERROR
NotImplementedError: popen("-") is unimplemented
/Users/asari/Development/src/jruby/spec/ruby/core/io/popen_spec.rb:78
/Users/asari/Development/src/jruby/spec/ruby/core/io/popen_spec.rb:3
/Users/asari/Development/src/jruby/spec/ruby/core/io/popen_spec.rb:56:in `load'
5)
IO.read from a pipe opens a pipe to a fork if the rest is - ERROR
NotImplementedError: popen("-") is unimplemented
/Users/asari/Development/src/jruby/spec/ruby/core/io/read_spec.rb:75
/Users/asari/Development/src/jruby/spec/ruby/core/io/read_spec.rb:69
/Users/asari/Development/src/jruby/spec/ruby/core/io/read_spec.rb:56:in `load'
6)
IO.read from a pipe raises Errno::ESPIPE if passed an offset FAILED
Expected Errno::ESPIPE but no exception was raised
/Users/asari/Development/src/jruby/spec/ruby/core/io/read_spec.rb:89
/Users/asari/Development/src/jruby/spec/ruby/core/io/read_spec.rb:69
/Users/asari/Development/src/jruby/spec/ruby/core/io/read_spec.rb:56:in `load'
7)
IO#readlines when passed a string that starts with a | gets data from a fork
when passed - ERROR
NotImplementedError: popen("-") is unimplemented
/Users/asari/Development/src/jruby/spec/ruby/core/io/readlines_spec.rb:108
/Users/asari/Development/src/jruby/spec/ruby/core/io/readlines_spec.rb:5
/Users/asari/Development/src/jruby/spec/ruby/core/io/readlines_spec.rb:56:in
`load'
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email