tests/test-wireproto.t
changeset 33335 72f051f9a7d8
parent 33286 2428e8ec0793
child 35074 62e10bf001a9
equal deleted inserted replaced
33334:20f533a92eda 33335:72f051f9a7d8
   145   * - - [*] "GET /?cmd=debugwireargs&one=eins&two=zwei HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=*zlib,none,bzip2 (glob)
   145   * - - [*] "GET /?cmd=debugwireargs&one=eins&two=zwei HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=*zlib,none,bzip2 (glob)
   146   * - - [*] "GET /?cmd=debugwireargs&one=eins&two=zwei HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=*zlib,none,bzip2 (glob)
   146   * - - [*] "GET /?cmd=debugwireargs&one=eins&two=zwei HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=*zlib,none,bzip2 (glob)
   147 
   147 
   148 SSH (try to exercise the ssh functionality with a dummy script):
   148 SSH (try to exercise the ssh functionality with a dummy script):
   149 
   149 
   150   $ hg debugwireargs --ssh "$PYTHON $TESTDIR/dummyssh" ssh://user@dummy/repo uno due tre quattro
   150   $ hg debugwireargs --ssh "\"$PYTHON\" $TESTDIR/dummyssh" ssh://user@dummy/repo uno due tre quattro
   151   uno due tre quattro None
   151   uno due tre quattro None
   152   $ hg debugwireargs --ssh "$PYTHON $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei --four vier
   152   $ hg debugwireargs --ssh "\"$PYTHON\" $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei --four vier
   153   eins zwei None vier None
   153   eins zwei None vier None
   154   $ hg debugwireargs --ssh "$PYTHON $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei
   154   $ hg debugwireargs --ssh "\"$PYTHON\" $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei
   155   eins zwei None None None
   155   eins zwei None None None
   156   $ hg debugwireargs --ssh "$PYTHON $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei --five fuenf
   156   $ hg debugwireargs --ssh "\"$PYTHON\" $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei --five fuenf
   157   eins zwei None None None
   157   eins zwei None None None
   158 
   158 
   159 Explicitly kill daemons to let the test exit on Windows
   159 Explicitly kill daemons to let the test exit on Windows
   160 
   160 
   161   $ killdaemons.py
   161   $ killdaemons.py