Patchwork D230: http: add a test of actually pushing with httppostargs

login
register
mail settings
Submitter phabricator
Date Aug. 8, 2017, 5:11 a.m.
Message ID <a8a86ec8078867e8637da8bd40f1f743@localhost.localdomain>
Download mbox | patch
Permalink /patch/22740/
State Not Applicable
Headers show

Comments

phabricator - Aug. 8, 2017, 5:11 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG970967e0a917: http: add a test of actually pushing with httppostargs (authored by durin42).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D230?vs=558&id=620

REVISION DETAIL
  https://phab.mercurial-scm.org/D230

AFFECTED FILES
  tests/test-push-http.t

CHANGE DETAILS




To: durin42, #hg-reviewers, quark
Cc: mercurial-devel

Patch

diff --git a/tests/test-push-http.t b/tests/test-push-http.t
--- a/tests/test-push-http.t
+++ b/tests/test-push-http.t
@@ -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 ..