Bug #1170: test_file_exhaustive.rb fails if building as root
http://redmine.ruby-lang.org/issues/show/1170

Author: Lucas Nussbaum
Status: Open, Priority: Normal
ruby -v: 1.9.1p0

Hi,

Some tests in test_file_exhaustive.rb fail if the build is running as root (which is the case on the Debian buildds, where we use fakeroot to give the illusion that the build process is running as root).

The attached patch addresses that by skipping the tests if the euid is 0.


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