Thread (7 messages) flat view 7 messages, 4 authors, 2016-06-15

Re: running git as root

From: Alex Riesen <hidden>
Date: 2016-06-15 22:46:57

2009/6/13 Marco Nelissen [off-list ref]:
When running as root, git fails a number of test cases that expect it
to fail on read-only repositories (for example 't0004-unwritable.sh').
I was thinking of either changing the code so that it checks
permissions itself when opening files as root, or add a prerequisite
to those test cases so that they are skipped when running as root.
There is such a prerequisite already (POSIXPERM), but what caused
you to run the _tests_ as root?
What would be the preferred way?
Use the prerequisite would sound right when not the
strangeness of the idea.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help