Mercurial > public > mercurial-scm > hg-stable
comparison tests/test-http-bad-server.t @ 48627:089cb4d6af5a
test-http-bad-server: move the extension in `testlib`
This seems like a better location for it.
Differential Revision: https://phab.mercurial-scm.org/D12036
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 18 Jan 2022 21:29:43 +0100 |
parents | a8fa270a0e86 |
children | ee1235afda4b |
comparison
equal
deleted
inserted
replaced
48626:348d2c6b5048 | 48627:089cb4d6af5a |
---|---|
28 Also disable compression because zstd is optional and causes output to vary | 28 Also disable compression because zstd is optional and causes output to vary |
29 and because debugging partial responses is hard when compression is involved | 29 and because debugging partial responses is hard when compression is involved |
30 | 30 |
31 $ cat > .hg/hgrc << EOF | 31 $ cat > .hg/hgrc << EOF |
32 > [extensions] | 32 > [extensions] |
33 > badserver = $TESTDIR/badserverext.py | 33 > badserver = $TESTDIR/testlib/badserverext.py |
34 > [server] | 34 > [server] |
35 > compressionengines = none | 35 > compressionengines = none |
36 > EOF | 36 > EOF |
37 | 37 |
38 Failure to accept() socket should result in connection related error message | 38 Failure to accept() socket should result in connection related error message |