http: add a test of actually pushing with httppostargs
This was previously untested. Sigh.
Differential Revision: https://phab.mercurial-scm.org/D230
--- a/tests/test-push-http.t Sun Aug 06 01:13:57 2017 +0900
+++ b/tests/test-push-http.t Fri Aug 04 15:49:36 2017 -0400
@@ -172,4 +172,20 @@
% serve errors
[255]
+ $ cat > .hg/hgrc <<EOF
+ > [web]
+ > push_ssl = false
+ > allow_push = *
+ > [experimental]
+ > httppostargs=true
+ > EOF
+ $ req
+ pushing to http://localhost:$HGPORT/
+ searching for changes
+ remote: adding changesets
+ remote: adding manifests
+ remote: adding file changes
+ remote: added 1 changesets with 1 changes to 1 files
+ % serve errors
+
$ cd ..