comparison tests/test-narrow-clone-non-narrow-server.t @ 36103:54e2abc73686

tests: use `hello` not `capabilities` over ssh Differential Revision: https://phab.mercurial-scm.org/D2195
author Augie Fackler <augie@google.com>
date Mon, 12 Feb 2018 15:00:18 -0500
parents a2a6e724d61a
children c18ae7a07019
comparison
equal deleted inserted replaced
36102:b60c577b6e03 36103:54e2abc73686
16 $ cat hg.pid >> "$DAEMON_PIDS" 16 $ cat hg.pid >> "$DAEMON_PIDS"
17 $ hg serve -a localhost -p $HGPORT2 -d --pid-file=hg.pid 17 $ hg serve -a localhost -p $HGPORT2 -d --pid-file=hg.pid
18 $ cat hg.pid >> "$DAEMON_PIDS" 18 $ cat hg.pid >> "$DAEMON_PIDS"
19 19
20 Verify that narrow is advertised in the bundle2 capabilities: 20 Verify that narrow is advertised in the bundle2 capabilities:
21 $ echo capabilities | hg -R . serve --stdio | \ 21 $ echo hello | hg -R . serve --stdio | \
22 > python -c "import sys, urllib; print urllib.unquote_plus(list(sys.stdin)[1])" | grep narrow 22 > python -c "import sys, urllib; print urllib.unquote_plus(list(sys.stdin)[1])" | grep narrow
23 narrow=v0 23 narrow=v0
24 24
25 $ cd .. 25 $ cd ..
26 26