t/lib-httpd: avoid occasional failures when checking access.log
[gitweb.git] / t / t5551-http-fetch-smart.sh
index 5f98fa90af7c0b2a032172248b35f07cdf8ebc0c..f0b03e5190a6ddf8f5c7c6ec202409d8e22b5442 100755 (executable)
@@ -98,8 +98,7 @@ GET  /smart/repo.git/info/refs?service=git-upload-pack HTTP/1.1 200
 POST /smart/repo.git/git-upload-pack HTTP/1.1 200
 EOF
 test_expect_success 'used upload-pack service' '
-       strip_access_log >act &&
-       test_cmp exp act
+       check_access_log exp
 '
 
 test_expect_success 'follow redirects (301)' '