Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 263797

Summary: sys-libs/db-4.7.25_p3 fails tests as root
Product: Gentoo Linux Reporter: Nick Fortino <nfortino>
Component: [OLD] Core systemAssignee: Caleb Tennis (RETIRED) <caleb>
Status: RESOLVED FIXED    
Severity: normal CC: base-system, flameeyes, pauldv
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: db-fop002.patch

Description Nick Fortino 2009-03-25 22:27:21 UTC
One of the (many) tests in the test suite checks if db handles the case of not having proper file permissions to perform operations on the database. This fails by design when run as root.
Comment 1 Nick Fortino 2009-03-25 22:29:26 UTC
Created attachment 186273 [details, diff]
db-fop002.patch

A patch to skip the offending test. Someone more familiar with tcl could probably come up with a better test for whether the process has root permissions.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-05-03 22:03:57 UTC
Just changed src_test to not run the testsuite as root, because I suspect other tests may fail too.