##// END OF EJS Templates
tests: normalize the way some debug output it matched...
Valentin Gatien-Baron -
r48735:c89ddef6 default
parent child Browse files
Show More
@@ -650,8 +650,7 b' Test debugpeer'
650 pushable: yes
650 pushable: yes
651
651
652 $ hg --debug debugpeer ssh://user@dummy/debugrevlog
652 $ hg --debug debugpeer ssh://user@dummy/debugrevlog
653 running "*" "*/tests/dummyssh" 'user@dummy' 'hg -R debugrevlog serve --stdio' (glob) (no-windows !)
653 running .* ".*[/\\]dummyssh" ['"]user@dummy['"] ['"]hg -R debugrevlog serve --stdio['"] (re)
654 running "*" "*\tests/dummyssh" "user@dummy" "hg -R debugrevlog serve --stdio" (glob) (windows !)
655 devel-peer-request: hello+between
654 devel-peer-request: hello+between
656 devel-peer-request: pairs: 81 bytes
655 devel-peer-request: pairs: 81 bytes
657 sending hello command
656 sending hello command
@@ -63,8 +63,7 b' Test a normal behaving server, for sanit'
63 $ cd ..
63 $ cd ..
64
64
65 $ hg --debug debugpeer ssh://user@dummy/server
65 $ hg --debug debugpeer ssh://user@dummy/server
66 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
66 running .* ".*[/\\]dummyssh" ['"]user@dummy['"] ['"]hg -R server serve --stdio['"] (re)
67 running * "*\tests/dummyssh" "user@dummy" "hg -R server serve --stdio" (glob) (windows !)
68 devel-peer-request: hello+between
67 devel-peer-request: hello+between
69 devel-peer-request: pairs: 81 bytes
68 devel-peer-request: pairs: 81 bytes
70 sending hello command
69 sending hello command
@@ -176,8 +175,7 b' SSH banner is not printed by default, ig'
176 --debug will print the banner
175 --debug will print the banner
177
176
178 $ SSHSERVERMODE=banner hg --debug debugpeer ssh://user@dummy/server
177 $ SSHSERVERMODE=banner hg --debug debugpeer ssh://user@dummy/server
179 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
178 running .* ".*[/\\]dummyssh" ['"]user@dummy['"] ['"]hg -R server serve --stdio['"] (re)
180 running * "*\tests/dummyssh" "user@dummy" "hg -R server serve --stdio" (glob) (windows !)
181 devel-peer-request: hello+between
179 devel-peer-request: hello+between
182 devel-peer-request: pairs: 81 bytes
180 devel-peer-request: pairs: 81 bytes
183 sending hello command
181 sending hello command
@@ -267,8 +265,7 b' The client should refuse, as we dropped '
267 servers.
265 servers.
268
266
269 $ SSHSERVERMODE=no-hello hg --debug debugpeer ssh://user@dummy/server
267 $ SSHSERVERMODE=no-hello hg --debug debugpeer ssh://user@dummy/server
270 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
268 running .* ".*[/\\]dummyssh" ['"]user@dummy['"] ['"]hg -R server serve --stdio['"] (re)
271 running * "*\tests/dummyssh" "user@dummy" "hg -R server serve --stdio" (glob) (windows !)
272 devel-peer-request: hello+between
269 devel-peer-request: hello+between
273 devel-peer-request: pairs: 81 bytes
270 devel-peer-request: pairs: 81 bytes
274 sending hello command
271 sending hello command
@@ -313,8 +310,7 b' Sending an unknown command to the server'
313 o> 1\n
310 o> 1\n
314
311
315 $ hg --config sshpeer.mode=extra-handshake-commands --config sshpeer.handshake-mode=pre-no-args --debug debugpeer ssh://user@dummy/server
312 $ hg --config sshpeer.mode=extra-handshake-commands --config sshpeer.handshake-mode=pre-no-args --debug debugpeer ssh://user@dummy/server
316 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
313 running .* ".*[/\\]dummyssh" ['"]user@dummy['"] ['"]hg -R server serve --stdio['"] (re)
317 running * "*\tests/dummyssh" "user@dummy" "hg -R server serve --stdio" (glob) (windows !)
318 sending no-args command
314 sending no-args command
319 devel-peer-request: hello+between
315 devel-peer-request: hello+between
320 devel-peer-request: pairs: 81 bytes
316 devel-peer-request: pairs: 81 bytes
@@ -383,8 +379,7 b' Send multiple unknown commands before he'
383 o> \n
379 o> \n
384
380
385 $ hg --config sshpeer.mode=extra-handshake-commands --config sshpeer.handshake-mode=pre-multiple-no-args --debug debugpeer ssh://user@dummy/server
381 $ hg --config sshpeer.mode=extra-handshake-commands --config sshpeer.handshake-mode=pre-multiple-no-args --debug debugpeer ssh://user@dummy/server
386 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
382 running .* ".*[/\\]dummyssh" ['"]user@dummy['"] ['"]hg -R server serve --stdio['"] (re)
387 running * "*\tests/dummyssh" "user@dummy" "hg -R server serve --stdio" (glob) (windows !)
388 sending unknown1 command
383 sending unknown1 command
389 sending unknown2 command
384 sending unknown2 command
390 sending unknown3 command
385 sending unknown3 command
@@ -959,8 +954,7 b' Send an upgrade request to a server that'
959 $ cd ..
954 $ cd ..
960
955
961 $ hg --config experimental.sshpeer.advertise-v2=true --debug debugpeer ssh://user@dummy/server
956 $ hg --config experimental.sshpeer.advertise-v2=true --debug debugpeer ssh://user@dummy/server
962 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
957 running .* ".*[/\\]dummyssh" ['"]user@dummy['"] ['"]hg -R server serve --stdio['"] (re)
963 running * "*\tests/dummyssh" "user@dummy" "hg -R server serve --stdio" (glob) (windows !)
964 sending upgrade request: * proto=exp-ssh-v2-0003 (glob)
958 sending upgrade request: * proto=exp-ssh-v2-0003 (glob)
965 devel-peer-request: hello+between
959 devel-peer-request: hello+between
966 devel-peer-request: pairs: 81 bytes
960 devel-peer-request: pairs: 81 bytes
@@ -1017,8 +1011,7 b' Send an upgrade request to a server that'
1017 $ cd ..
1011 $ cd ..
1018
1012
1019 $ hg --config experimental.sshpeer.advertise-v2=true --debug debugpeer ssh://user@dummy/server
1013 $ hg --config experimental.sshpeer.advertise-v2=true --debug debugpeer ssh://user@dummy/server
1020 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
1014 running .* ".*[/\\]dummyssh" ['"]user@dummy['"] ['"]hg -R server serve --stdio['"] (re)
1021 running * "*\tests/dummyssh" "user@dummy" "hg -R server serve --stdio" (glob) (windows !)
1022 sending upgrade request: * proto=exp-ssh-v2-0003 (glob)
1015 sending upgrade request: * proto=exp-ssh-v2-0003 (glob)
1023 devel-peer-request: hello+between
1016 devel-peer-request: hello+between
1024 devel-peer-request: pairs: 81 bytes
1017 devel-peer-request: pairs: 81 bytes
@@ -1036,8 +1029,7 b' Send an upgrade request to a server that'
1036 Verify the peer has capabilities
1029 Verify the peer has capabilities
1037
1030
1038 $ hg --config experimental.sshpeer.advertise-v2=true --debug debugcapabilities ssh://user@dummy/server
1031 $ hg --config experimental.sshpeer.advertise-v2=true --debug debugcapabilities ssh://user@dummy/server
1039 running * "*/tests/dummyssh" 'user@dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
1032 running .* ".*[/\\]dummyssh" ['"]user@dummy['"] ['"]hg -R server serve --stdio['"] (re)
1040 running * "*\tests/dummyssh" "user@dummy" "hg -R server serve --stdio" (glob) (windows !)
1041 sending upgrade request: * proto=exp-ssh-v2-0003 (glob)
1033 sending upgrade request: * proto=exp-ssh-v2-0003 (glob)
1042 devel-peer-request: hello+between
1034 devel-peer-request: hello+between
1043 devel-peer-request: pairs: 81 bytes
1035 devel-peer-request: pairs: 81 bytes
General Comments 0
You need to be logged in to leave comments. Login now