When emerging dev-vcs/git-184.108.40.206-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-220.127.116.11/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.
Created attachment 315645 [details]