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

Bug 421741

Summary: dev-vcs/git-1.7.3.4-r1: test t7508-status.sh failed with FEATURES="sandbox -userpriv"
Product: Gentoo Linux Reporter: Leon Schoorl <leon>
Component: [OLD] DevelopmentAssignee: Robin Johnson <robbat2>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

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
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-12-07 07:33:17 UTC
I believe this ticket is obsolete, if the problem persists, please reopen