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:
@ -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
|
||||
###
|
||||
|
Reference in New Issue
Block a user