checkout: call the new submodule update test framework
[gitweb.git] / t / lib-httpd.sh
index f7640bee9a4564f3099b0751811e7cd6a41ecc09..272fceef96c06e6e104d6341f36b1764e7d0c8db 100644 (file)
@@ -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'