Issue #7718 has been updated by kosaki (Motohiro KOSAKI).


Please run following program. I guess alpha, mips, sparc and ppc have different RNDGETENTCNT number against x86.

-----------
#include <linux/random.h>

main(){
	printf("%lx\n", RNDGETENTCNT);
}

----------------------------------------
Bug #7718: test_ioctl_linux fails on PPC and PPC64
https://bugs.ruby-lang.org/issues/7718#change-35518

Author: vo.x (Vit Ondruch)
Status: Feedback
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby -v: ruby 2.0.0dev (2013-01-16 trunk 38848) [powerpc-linux] and ruby 1.9.3p362 (2012-12-25 revision 38607) [powerpc64-linux]


=begin
 test_ioctl_linux(TestIO) [/builddir/build/BUILD/ruby-2.0.0-r38848/test/ruby/test_io.rb:2443]:
 Exception raised:
 <#<Errno::EINVAL: Invalid argument - /dev/urandom>>.

The above mentioned test case fails on PPC and PPC64. The test case was introduced in 33716. It fails with Ruby 2.0 and Ruby 1.9.3 as well.
=end




-- 
http://bugs.ruby-lang.org/