Project

General

Profile

Actions

Bug #1170

closed

test_file_exhaustive.rb fails if building as root

Added by lucas (Lucas Nussbaum) about 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 #1

Updated by mame (Yusuke Endoh) about 16 years ago

=begin
Done. Thank you!

2009/2/18 Lucas Nussbaum :

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

--
Yusuke ENDOH

=end

Actions #2

Updated by mame (Yusuke Endoh) about 16 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r22423.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0