comparison tests/test-wireproto.t @ 47920:9c4204b7f3e4

tests: rely on dummyssh being the default This commit is exactly the result of running this command: sed -i -e 's! *\(-e \|--ssh \|--config ui.ssh=\)[ \"]*$PYTHON[ \"]*$\(RUN\|\)TESTDIR/dummyssh[\"]* *! !g' -e '/^[ >]*ssh *=[ "]*$PYTHON[ "]*$\(RUN\|\)TESTDIR\/dummyssh[ "]*$/d' -e 's/^\( [$] .*[^ ]\) *$/\1/' *.t *.sh Sometimes the tests can be simplified further, but I think it's preferable to do the simplification separately. Differential Revision: https://phab.mercurial-scm.org/D11245
author Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
date Mon, 02 Aug 2021 21:25:01 -0400
parents b4b7427b5786
children
comparison
equal deleted inserted replaced
47919:a28a7dcb9158 47920:9c4204b7f3e4
140 $LOCALIP - - [$LOGDATE$] "GET /?cmd=debugwireargs&one=eins&two=zwei HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (glob) 140 $LOCALIP - - [$LOGDATE$] "GET /?cmd=debugwireargs&one=eins&two=zwei HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (glob)
141 $LOCALIP - - [$LOGDATE$] "GET /?cmd=debugwireargs&one=eins&two=zwei HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (glob) 141 $LOCALIP - - [$LOGDATE$] "GET /?cmd=debugwireargs&one=eins&two=zwei HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (glob)
142 142
143 SSH (try to exercise the ssh functionality with a dummy script): 143 SSH (try to exercise the ssh functionality with a dummy script):
144 144
145 $ hg debugwireargs --ssh "\"$PYTHON\" $TESTDIR/dummyssh" ssh://user@dummy/repo uno due tre quattro 145 $ hg debugwireargs ssh://user@dummy/repo uno due tre quattro
146 uno due tre quattro None 146 uno due tre quattro None
147 $ hg debugwireargs --ssh "\"$PYTHON\" $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei --four vier 147 $ hg debugwireargs ssh://user@dummy/repo eins zwei --four vier
148 eins zwei None vier None 148 eins zwei None vier None
149 $ hg debugwireargs --ssh "\"$PYTHON\" $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei 149 $ hg debugwireargs ssh://user@dummy/repo eins zwei
150 eins zwei None None None 150 eins zwei None None None
151 $ hg debugwireargs --ssh "\"$PYTHON\" $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei --five fuenf 151 $ hg debugwireargs ssh://user@dummy/repo eins zwei --five fuenf
152 eins zwei None None None 152 eins zwei None None None
153 153
154 Explicitly kill daemons to let the test exit on Windows 154 Explicitly kill daemons to let the test exit on Windows
155 155
156 $ killdaemons.py 156 $ killdaemons.py