summaryrefslogtreecommitdiff
path: root/t/t5561-http-backend.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-10-15 15:43:35 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-10-15 15:43:36 -0700
commitc92df72bf425226380587be00dee08346a0ba9d4 (patch)
tree93edf79dceddb2a56cc0c9c10ceab0987a0101a8 /t/t5561-http-backend.sh
parentMerge branch 'jc/fsck-dropped-errors' (diff)
parentt5561: get rid of racy appending to logfile (diff)
downloadtgif-c92df72bf425226380587be00dee08346a0ba9d4.tar.xz
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
Diffstat (limited to 't/t5561-http-backend.sh')
-rwxr-xr-xt/t5561-http-backend.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/t/t5561-http-backend.sh b/t/t5561-http-backend.sh
index 19afe96698..90e0d6f0fe 100755
--- a/t/t5561-http-backend.sh
+++ b/t/t5561-http-backend.sh
@@ -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
###