Mercurial > hg
view tests/test-gendoc-fr.t @ 48618:9dc00c5617ea
test-bad-http-server: introduce sock closing when writing a pattern
Instead of using a fixed number a bytes, a very unstable method. We introduce a
new config that can define a regex. One this regex is detected, nothing after
it will be written and the socket will be closed.
Tests will be migrated to this new method in later changesets.
Differential Revision: https://phab.mercurial-scm.org/D12049
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 22 Jan 2022 01:51:28 +0100 |
parents | 7a1ad08b9ff5 |
children |
line wrap: on
line source
#require docutils gettext $ $TESTDIR/check-gendoc fr checking for parse errors