mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-30 17:30:36 -05:00
Merge branch 'jk/do-not-run-httpd-tests-as-root'
* jk/do-not-run-httpd-tests-as-root: t/lib-httpd: require SANITY prereq
This commit is contained in:
@@ -37,6 +37,11 @@ then
|
||||
test_done
|
||||
fi
|
||||
|
||||
if ! test_have_prereq SANITY; then
|
||||
test_skip_or_die $GIT_TEST_HTTPD \
|
||||
"Cannot run httpd tests as root"
|
||||
fi
|
||||
|
||||
HTTPD_PARA=""
|
||||
|
||||
for DEFAULT_HTTPD_PATH in '/usr/sbin/httpd' '/usr/sbin/apache2'
|
||||
|
||||
Reference in New Issue
Block a user