Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421741 - dev-vcs/git-1.7.3.4-r1: test t7508-status.sh failed with FEATURES="sandbox -userpriv"
Summary: dev-vcs/git-1.7.3.4-r1: test t7508-status.sh failed with FEATURES="sandbox -u...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-18 09:57 UTC by Leon Schoorl
Modified: 2014-01-20 04:45 UTC (History)
0 users

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


Attachments
build.log (build.log,127.98 KB, text/plain)
2012-06-18 10:00 UTC, Leon Schoorl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leon Schoorl 2012-06-18 09:57:02 UTC
When emerging dev-vcs/git-1.7.3.4-r1 with FEATURES="sandbox -userpriv test" (== the default, except for test) 
it fails test 46 in t7508-status.sh

All tests succeed when using FEATURES= "-sandbox", "userpriv" or even "userpriv usersandbox"

Test 46 in t7508-status.sh normally shouldn't run when testing as root, but the testscript gets confused by the gentoo sandbox.

On the last line of git-1.7.3.4/t/test-lib.sh it tries to find out if its running as root with:
test -w /
But that gets blocked by the sandbox, so the testscript believes it is not running as root.


Reproducible: Always
Comment 1 Leon Schoorl 2012-06-18 10:00:24 UTC
Created attachment 315645 [details]
build.log