tests/test-wireproto-command-capabilities.t
changeset 37718 ad1c07008e0b
parent 37657 23c4ddda7bbe
child 37722 89a16704114c
--- a/tests/test-wireproto-command-capabilities.t	Sat Apr 14 09:57:44 2018 -0700
+++ b/tests/test-wireproto-command-capabilities.t	Sat Apr 14 11:49:57 2018 -0700
@@ -197,11 +197,11 @@
 
 capabilities command returns expected info
 
-  $ sendhttpv2peer << EOF
+  $ sendhttpv2peerhandshake << EOF
   > command capabilities
   > EOF
   creating http peer for wire protocol version 2
-  s>     *\r\n (glob)
+  s>     GET /?cmd=capabilities HTTP/1.1\r\n
   s>     Accept-Encoding: identity\r\n
   s>     vary: X-HgProto-1,X-HgUpgrade-1\r\n
   s>     x-hgproto-1: cbor\r\n