##// END OF EJS Templates
tests: avoid a "magic" nodeid in test-wireproto-command-lookup.t...
Martin von Zweigbergk -
r45669:b1507ab0 default
parent child Browse files
Show More
@@ -15,6 +15,7 b''
15 > |
15 > |
16 > A
16 > A
17 > EOF
17 > EOF
18 $ root_node=$(hg log -r A -T '{node}')
18
19
19 $ hg serve -p $HGPORT -d --pid-file hg.pid -E error.log
20 $ hg serve -p $HGPORT -d --pid-file hg.pid -E error.log
20 $ cat hg.pid > $DAEMON_PIDS
21 $ cat hg.pid > $DAEMON_PIDS
@@ -23,7 +24,7 b' lookup for known node works'
23
24
24 $ sendhttpv2peer << EOF
25 $ sendhttpv2peer << EOF
25 > command lookup
26 > command lookup
26 > key 426bada5c67598ca65036d57d9e4b64b0c1ce7a0
27 > key $root_node
27 > EOF
28 > EOF
28 creating http peer for wire protocol version 2
29 creating http peer for wire protocol version 2
29 sending lookup command
30 sending lookup command
General Comments 0
You need to be logged in to leave comments. Login now