serve: make tests compatible with chg
chg only supports 'hg serve' when the options to the serve command follow the 'hg serve'. For example, 'hg -R <repo> serve ..' is unsupported. This leads to issues with chg running for the following tests: - test-bundle2-exchange.t - test-clone-uncompressed.t - test-hgweb-csp.t - test-http-bad-server.t - test-http-bundle1.t - test-http-protocol.t - test-http.t There was an effort made earlier to fix this issue for chg and the tests were fixed to confirm to the compatible pattern. But the new tests did not take care of the same and hence, fail. Hopefully, there will be continuous build setup for chg after all tests are made compatible with chg so that we can avoid such issues. Test Plan: Ran the aforementioned tests with and without '--chg' option. Differential Revision: https://phab.mercurial-scm.org/D946
Showing
- tests/test-bundle2-exchange.t 2 additions, 2 deletionstests/test-bundle2-exchange.t
- tests/test-clone-uncompressed.t 4 additions, 4 deletionstests/test-clone-uncompressed.t
- tests/test-hgweb-csp.t 1 addition, 1 deletiontests/test-hgweb-csp.t
- tests/test-http-bad-server.t 29 additions, 24 deletionstests/test-http-bad-server.t
- tests/test-http-bundle1.t 2 additions, 2 deletionstests/test-http-bundle1.t
- tests/test-http-protocol.t 5 additions, 5 deletionstests/test-http-protocol.t
- tests/test-http.t 2 additions, 2 deletionstests/test-http.t
Loading
Please register or sign in to comment