You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On FreeBSD 10.1 release, after building jruby 9.0.0.0, running
bin/jruby -S rake test:mri
I get the following error:
[4359/6445] TestPTY#test_commandline = 0.00 s
2) Error:
TestPTY#test_commandline:
NoMethodError: private method spawn' called for PTY:Module /usr/home/bruce/jruby-dev/jruby/test/mri/test_pty.rb:42:intest_commandline'
The text was updated successfully, but these errors were encountered:
I can't tell about openbsd, but netbsd, freebsd, and dragonflybsd all have forkpty in libutil. The libutil check in lib/ruby/stdlib/pty.rb is wrong. When I changed the logic to
if FFI::Platform.linux? || (FFI::Platform.bsd? && ! not FFI::Platform.mac?)
it worked on FreeBSD, but I have no access to a mac to validate for it.
bgalbrecht
changed the title
jruby 9000 FreeBSD TestPTY#test_commandline fails
FreeBSD TestPTY#test_commandline fails
Apr 2, 2015
On FreeBSD 10.1 release, after building jruby 9.0.0.0, running
bin/jruby -S rake test:mri
I get the following error:
[4359/6445] TestPTY#test_commandline = 0.00 s
2) Error:
TestPTY#test_commandline:
NoMethodError: private method
spawn' called for PTY:Module /usr/home/bruce/jruby-dev/jruby/test/mri/test_pty.rb:42:in
test_commandline'The text was updated successfully, but these errors were encountered: