With smart http, git over http is likely to become much more common. To increase testing of smart http, enable the http tests by default. If we cannot detect httpd, we still skip these tests, so it should not cause problems on platforms where we cannot run the tests. Signed-off-by: Tarmigan Casebolt <tarmigan+git@xxxxxxxxx> --- t/lib-httpd.sh | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/t/lib-httpd.sh b/t/lib-httpd.sh index 6b86353..db537b4 100644 --- a/t/lib-httpd.sh +++ b/t/lib-httpd.sh @@ -3,11 +3,12 @@ # Copyright (c) 2008 Clemens Buchacher <drizzd@xxxxxx> # -if test -z "$GIT_TEST_HTTPD" +if test -n "$NO_GIT_TEST_HTTPD" then - say "skipping test, network testing disabled by default" - say "(define GIT_TEST_HTTPD to enable)" + say "Skipping http tests because NO_GIT_TEST_HTTPD is defined" test_done +else + say "Define NO_GIT_TEST_HTTPD to disable http testing" fi HTTPD_PARA="" -- 1.6.5.52.g35487 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html