Re: rcs-5.8 test failure
"Mr. Aaron W. Swenson" <[email protected]> Sun, 16 Oct 2011 18:52:02 -0400
| Newsgroups | gmane.comp.version-control.rcs.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Oct 14, 2011 at 11:51:07AM +0200, Thien-Thi Nguyen wrote: > () IAN DELANEY <[email protected]> > () 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 : [email protected] GnuPG FP : 2C00 7719 4F85 FB07 A49C 0E31 5713 AA03 D1BB FDA0 GnuPG ID : D1BBFDA0
signature.asc
(application/pgp-signature, 230 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iF4EAREIAAYFAk6bYBEACgkQVxOqA9G7/aAAdwD7BCfCdHXzqRAGiACxXI8nfRh5 CBw/KSPrdrIxsbLJkDoA+gLljARzfoGTjs4ZNSLL/vm/icAo8RFH0TXJMmfSKZ3d =zMyK -----END PGP SIGNATURE-----