##// END OF EJS Templates
tests: stabilize ssh tests on Windows...
Matt Harbison -
r36007:c64b9adf default
parent child Browse files
Show More
@@ -390,7 +390,8 b' Test debugpeer'
390 390 pushable: yes
391 391
392 392 $ hg --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" --debug debugpeer ssh://user@dummy/debugrevlog
393 running "*" "*/tests/dummyssh" 'user@dummy' 'hg -R debugrevlog serve --stdio' (glob)
393 running "*" "*/tests/dummyssh" 'user@dummy' 'hg -R debugrevlog serve --stdio' (glob) (no-windows !)
394 running "*" "*\tests/dummyssh" "user@dummy" "hg -R debugrevlog serve --stdio" (glob) (windows !)
394 395 devel-peer-request: hello
395 396 sending hello command
396 397 devel-peer-request: between
@@ -17,7 +17,8 b''
17 17 Test a normal behaving server, for sanity
18 18
19 19 $ hg --debug debugpeer ssh://user@dummy/server
20 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob)
20 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
21 running * "*\tests/dummyssh" "user@dummy" "hg -R server serve --stdio" (glob) (windows !)
21 22 devel-peer-request: hello
22 23 sending hello command
23 24 devel-peer-request: between
@@ -63,7 +64,8 b' SSH banner is not printed by default, ig'
63 64 --debug will print the banner
64 65
65 66 $ SSHSERVERMODE=banner hg --debug debugpeer ssh://user@dummy/server
66 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob)
67 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
68 running * "*\tests/dummyssh" "user@dummy" "hg -R server serve --stdio" (glob) (windows !)
67 69 devel-peer-request: hello
68 70 sending hello command
69 71 devel-peer-request: between
@@ -114,7 +116,8 b' The client should refuse, as we dropped '
114 116 servers.
115 117
116 118 $ SSHSERVERMODE=no-hello hg --debug debugpeer ssh://user@dummy/server
117 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob)
119 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
120 running * "*\tests/dummyssh" "user@dummy" "hg -R server serve --stdio" (glob) (windows !)
118 121 devel-peer-request: hello
119 122 sending hello command
120 123 devel-peer-request: between
@@ -141,7 +144,8 b' Sending an unknown command to the server'
141 144
142 145
143 146 $ hg --config sshpeer.mode=extra-handshake-commands --config sshpeer.handshake-mode=pre-no-args --debug debugpeer ssh://user@dummy/server
144 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob)
147 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
148 running * "*\tests/dummyssh" "user@dummy" "hg -R server serve --stdio" (glob) (windows !)
145 149 sending no-args command
146 150 devel-peer-request: hello
147 151 sending hello command
@@ -176,7 +180,8 b' Send multiple unknown commands before he'
176 180
177 181
178 182 $ hg --config sshpeer.mode=extra-handshake-commands --config sshpeer.handshake-mode=pre-multiple-no-args --debug debugpeer ssh://user@dummy/server
179 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob)
183 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
184 running * "*\tests/dummyssh" "user@dummy" "hg -R server serve --stdio" (glob) (windows !)
180 185 sending unknown1 command
181 186 sending unknown2 command
182 187 sending unknown3 command
@@ -405,7 +410,8 b' Send an upgrade request to a server that'
405 410
406 411
407 412 $ hg --config experimental.sshpeer.advertise-v2=true --debug debugpeer ssh://user@dummy/server
408 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob)
413 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
414 running * "*\tests/dummyssh" "user@dummy" "hg -R server serve --stdio" (glob) (windows !)
409 415 sending upgrade request: * proto=exp-ssh-v2-0001 (glob)
410 416 devel-peer-request: hello
411 417 sending hello command
@@ -434,7 +440,8 b' Send an upgrade request to a server that'
434 440 capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
435 441
436 442 $ SSHSERVERMODE=upgradev2 hg --config experimental.sshpeer.advertise-v2=true --debug debugpeer ssh://user@dummy/server
437 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob)
443 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
444 running * "*\tests/dummyssh" "user@dummy" "hg -R server serve --stdio" (glob) (windows !)
438 445 sending upgrade request: * proto=exp-ssh-v2-0001 (glob)
439 446 devel-peer-request: hello
440 447 sending hello command
@@ -449,7 +456,8 b' Send an upgrade request to a server that'
449 456 Verify the peer has capabilities
450 457
451 458 $ SSHSERVERMODE=upgradev2 hg --config experimental.sshpeer.advertise-v2=true --debug debugcapabilities ssh://user@dummy/server
452 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob)
459 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
460 running * "*\tests/dummyssh" "user@dummy" "hg -R server serve --stdio" (glob) (windows !)
453 461 sending upgrade request: * proto=exp-ssh-v2-0001 (glob)
454 462 devel-peer-request: hello
455 463 sending hello command
General Comments 0
You need to be logged in to leave comments. Login now