Project

General

Profile

Actions

Bug #1170

closed

test_file_exhaustive.rb fails if building as root

Added by lucas (Lucas Nussbaum) over 16 years ago. Updated about 14 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
1.9.1p0
Backport:
[ruby-core:22209]

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

test_file_exhaustive.rb.diff (3.84 KB) test_file_exhaustive.rb.diff lucas (Lucas Nussbaum), 02/18/2009 06:34 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0