blame: default to HEAD in a bare repo when no start commit is given
[gitweb.git] / t / t5551-http-fetch-smart.sh
index 8630b0cc39045f913987463a36388bcd72d6e248..ba83e567e5ca49c1664fe13f447e2744d55bfb3a 100755 (executable)
@@ -429,5 +429,10 @@ test_expect_success 'GIT_TRACE_CURL_NO_DATA prevents data from being traced' '
        ! grep "=> Send data" err
 '
 
+test_expect_success 'server-side error detected' '
+       test_must_fail git clone $HTTPD_URL/error_smart/repo.git 2>actual &&
+       grep "server-side error" actual
+'
+
 stop_httpd
 test_done