bug-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rcs-5.8 test failure


From: Mr. Aaron W. Swenson
Subject: Re: rcs-5.8 test failure
Date: Sun, 16 Oct 2011 18:52:02 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Oct 14, 2011 at 11:51:07AM +0200, Thien-Thi Nguyen wrote:
> () IAN DELANEY <address@hidden>
> () Thu, 13 Oct 2011 00:54:43 +0800
> 
>    package dev-vcs/rcs-5.8 suffers a failure of 2 test files, t510, t511.
>    In testing, the test were all passed on one system and failed on
>    another using the ebuild.  However, when run from the source, they
>    persistently failed.
> 
>    For t510, Our prying lead us to file common-i in /tests and the
>    function triple in the file.  By chance it was found that use of
>    VERBOSE=1 or KEEPD=1 results in the test passing.  
> 
>    I believe this will help.
> 
>    archtester rcs-5.8 # cat tests/t510.d/out
>    PROBLEM: t510.d/x,v writable (cmd: ci -i -t-something)
> 
>    archtester rcs-5.8 # cat tests/t511.d/out
>    PROBLEM: t511.d/x,v writable (cmd: ci -i4.20 -mOK -t-something)
> 
> Unfortunately, this is not enough information to be helpful.
> It's also somewhat worrisome that things are fine on one machine
> and not on the other.  If the failures were reproducible on both
> machines, then i would be more inclined to investigate further.
> 

It is reproducible on my machine both with and without the ebuild. There
are no error messages to really elaborate on the cause.

However, those two tests pass when 'make check' is run as a user. Test
t150 still fails without KEEPD=1 or VERBOSE=1.

The Gentoo package can workaround the issue by switching to user
privileges to run the tests rather than running them as root, and
exporting VERBOSE=1 to the sandbox environment.

The issue isn't so much the test failing as root in this case as much as
t150 requiring KEEPD or VERBOSE being enabled in order to pass. (However,
I would think that a program like RCS would be run as root when root
privileges are required, such as when being used to version files in
/etc. So, maybe tests failing as root really is an issue.)

-- 
Mr. Aaron W. Swenson
Gentoo Linux Developer
Email    : address@hidden
GnuPG FP : 2C00 7719 4F85 FB07 A49C  0E31 5713 AA03 D1BB FDA0
GnuPG ID : D1BBFDA0

Attachment: pgpLly656_QlV.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]