http: add a test of actually pushing with httppostargs
authorAugie Fackler <augie@google.com>
Fri, 04 Aug 2017 15:49:36 -0400
changeset 33700 970967e0a917
parent 33699 50c44dee741a
child 33701 fda0867cfe03
http: add a test of actually pushing with httppostargs This was previously untested. Sigh. Differential Revision: https://phab.mercurial-scm.org/D230
tests/test-push-http.t
--- 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 ..