ref_transaction_commit(): fix atomicity and avoid fd exhaustion
[gitweb.git] / t / t5550-http-fetch-dumb.sh
index 61e087ed6af680735ffc2446fd34d83fd6f0b939..3d11b7a6bb660f3758bdf12dff06e31be04de9eb 100755 (executable)
@@ -184,8 +184,8 @@ test_expect_success 'fetch can handle previously-fetched .idx files' '
 '
 
 test_expect_success 'did not use upload-pack service' '
-       grep '/git-upload-pack' <"$HTTPD_ROOT_PATH"/access.log >act
-       : >exp
+       test_might_fail grep '/git-upload-pack' <"$HTTPD_ROOT_PATH"/access.log >act &&
+       : >exp &&
        test_cmp exp act
 '