Bug #1170
closedtest_file_exhaustive.rb fails if building as root
Description
=begin
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.
=end
Files
        
           Updated by mame (Yusuke Endoh) over 16 years ago
          Updated by mame (Yusuke Endoh) over 16 years ago
          
          
        
        
      
      =begin
Done.  Thank you!
2009/2/18 Lucas Nussbaum redmine@ruby-lang.org:
Bug #1170: test_file_exhaustive.rb fails if building as root
http://redmine.ruby-lang.org/issues/show/1170Author: Lucas Nussbaum
Status: Open, Priority: Normal
ruby -v: 1.9.1p0Hi,
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.
--
Yusuke ENDOH mame@tsg.ne.jp
=end
        
           Updated by mame (Yusuke Endoh) over 16 years ago
          Updated by mame (Yusuke Endoh) over 16 years ago
          
          
        
        
      
      - Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r22423.
=end