D2778: tests: add test for a wire protocol request to wrong base URL
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Mon Mar 12 17:32:42 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG2859c6fa4fc2: tests: add test for a wire protocol request to wrong base URL (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2778?vs=6836&id=6912
REVISION DETAIL
https://phab.mercurial-scm.org/D2778
AFFECTED FILES
tests/test-hgweb-commands.t
CHANGE DETAILS
diff --git a/tests/test-hgweb-commands.t b/tests/test-hgweb-commands.t
--- a/tests/test-hgweb-commands.t
+++ b/tests/test-hgweb-commands.t
@@ -1916,6 +1916,19 @@
lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=$BUNDLE2_COMPRESSIONS$
+wire protocol command to wrong base URL
+
+ $ get-with-headers.py $LOCALIP:$HGPORT 'foo?cmd=capabilities' -
+ 404 Not Found
+ content-length: 12
+ content-type: application/mercurial-0.1
+ date: * (glob)
+ server: * (glob)
+
+ 0
+ Not Found
+ [1]
+
heads
$ get-with-headers.py $LOCALIP:$HGPORT '?cmd=heads'
To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list