Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263797 - sys-libs/db-4.7.25_p3 fails tests as root
Summary: sys-libs/db-4.7.25_p3 fails tests as root
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Caleb Tennis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-25 22:27 UTC by Nick Fortino
Modified: 2010-05-03 22:03 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
db-fop002.patch (db-fop002.patch,519 bytes, patch)
2009-03-25 22:29 UTC, Nick Fortino
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.