Merge branch 'sb/http-flaky-test-fix'

A test script for the HTTP service had a timing dependent bug,
which was fixed.

* sb/http-flaky-test-fix:
  t5561: get rid of racy appending to logfile
This commit is contained in:
Junio C Hamano
2015-10-15 15:43:35 -07:00
3 changed files with 1 additions and 23 deletions

View File

@ -29,15 +29,9 @@ POST() {
test_cmp exp act
}
log_div() {
echo >>"$HTTPD_ROOT_PATH"/access.log
echo "### $1" >>"$HTTPD_ROOT_PATH"/access.log
echo "###" >>"$HTTPD_ROOT_PATH"/access.log
}
. "$TEST_DIRECTORY"/t556x_common
cat >exp <<EOF
grep '^[^#]' >exp <<EOF
### refs/heads/master
###