tests/test-wireproto-command-lookup.t
changeset 48526 04688c51f81f
parent 48525 d6c53b40b078
child 48527 bf5dc156bb4c
--- a/tests/test-wireproto-command-lookup.t	Thu Dec 30 13:25:44 2021 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-  $ . $TESTDIR/wireprotohelpers.sh
-
-  $ hg init server
-  $ enablehttpv2 server
-  $ cd server
-  $ cat >> .hg/hgrc << EOF
-  > [web]
-  > push_ssl = false
-  > allow-push = *
-  > EOF
-  $ hg debugdrawdag << EOF
-  > C D
-  > |/
-  > B
-  > |
-  > A
-  > EOF
-  $ root_node=$(hg log -r A -T '{node}')
-
-  $ hg serve -p $HGPORT -d --pid-file hg.pid -E error.log
-  $ cat hg.pid > $DAEMON_PIDS
-
-lookup for known node works
-
-  $ sendhttpv2peer << EOF
-  > command lookup
-  >     key $root_node
-  > EOF
-  creating http peer for wire protocol version 2
-  sending lookup command
-  response: b'Bk\xad\xa5\xc6u\x98\xcae\x03mW\xd9\xe4\xb6K\x0c\x1c\xe7\xa0'
-
-  $ cat error.log