[Updated] D11361: tests: normalize the way some debug output it matched
valentin.gatienbaron (Valentin Gatien-Baron)
phabricator at mercurial-scm.org
Mon Aug 30 10:26:31 UTC 2021
Closed by commit rHGc89ddef6474d: tests: normalize the way some debug output it matched (authored by valentin.gatienbaron).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
CHANGED PRIOR TO COMMIT
https://phab.mercurial-scm.org/D11361?vs=30116&id=30138#toc
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11361?vs=30116&id=30138
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11361/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11361
AFFECTED FILES
tests/test-debugcommands.t
tests/test-ssh-proto.t
CHANGE DETAILS
diff --git a/tests/test-ssh-proto.t b/tests/test-ssh-proto.t
--- a/tests/test-ssh-proto.t
+++ b/tests/test-ssh-proto.t
@@ -63,8 +63,7 @@
$ cd ..
$ hg --debug debugpeer ssh://user@dummy/server
- running * "*/tests/dummyssh" 'user at dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
- running * "*\tests/dummyssh" "user at dummy" "hg -R server serve --stdio" (glob) (windows !)
+ running .* ".*[/\\]dummyssh" ['"]user at dummy['"] ['"]hg -R server serve --stdio['"] (re)
devel-peer-request: hello+between
devel-peer-request: pairs: 81 bytes
sending hello command
@@ -176,8 +175,7 @@
--debug will print the banner
$ SSHSERVERMODE=banner hg --debug debugpeer ssh://user@dummy/server
- running * "*/tests/dummyssh" 'user at dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
- running * "*\tests/dummyssh" "user at dummy" "hg -R server serve --stdio" (glob) (windows !)
+ running .* ".*[/\\]dummyssh" ['"]user at dummy['"] ['"]hg -R server serve --stdio['"] (re)
devel-peer-request: hello+between
devel-peer-request: pairs: 81 bytes
sending hello command
@@ -267,8 +265,7 @@
servers.
$ SSHSERVERMODE=no-hello hg --debug debugpeer ssh://user@dummy/server
- running * "*/tests/dummyssh" 'user at dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
- running * "*\tests/dummyssh" "user at dummy" "hg -R server serve --stdio" (glob) (windows !)
+ running .* ".*[/\\]dummyssh" ['"]user at dummy['"] ['"]hg -R server serve --stdio['"] (re)
devel-peer-request: hello+between
devel-peer-request: pairs: 81 bytes
sending hello command
@@ -313,8 +310,7 @@
o> 1\n
$ hg --config sshpeer.mode=extra-handshake-commands --config sshpeer.handshake-mode=pre-no-args --debug debugpeer ssh://user@dummy/server
- running * "*/tests/dummyssh" 'user at dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
- running * "*\tests/dummyssh" "user at dummy" "hg -R server serve --stdio" (glob) (windows !)
+ running .* ".*[/\\]dummyssh" ['"]user at dummy['"] ['"]hg -R server serve --stdio['"] (re)
sending no-args command
devel-peer-request: hello+between
devel-peer-request: pairs: 81 bytes
@@ -383,8 +379,7 @@
o> \n
$ hg --config sshpeer.mode=extra-handshake-commands --config sshpeer.handshake-mode=pre-multiple-no-args --debug debugpeer ssh://user@dummy/server
- running * "*/tests/dummyssh" 'user at dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
- running * "*\tests/dummyssh" "user at dummy" "hg -R server serve --stdio" (glob) (windows !)
+ running .* ".*[/\\]dummyssh" ['"]user at dummy['"] ['"]hg -R server serve --stdio['"] (re)
sending unknown1 command
sending unknown2 command
sending unknown3 command
@@ -959,8 +954,7 @@
$ cd ..
$ hg --config experimental.sshpeer.advertise-v2=true --debug debugpeer ssh://user@dummy/server
- running * "*/tests/dummyssh" 'user at dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
- running * "*\tests/dummyssh" "user at dummy" "hg -R server serve --stdio" (glob) (windows !)
+ running .* ".*[/\\]dummyssh" ['"]user at dummy['"] ['"]hg -R server serve --stdio['"] (re)
sending upgrade request: * proto=exp-ssh-v2-0003 (glob)
devel-peer-request: hello+between
devel-peer-request: pairs: 81 bytes
@@ -1017,8 +1011,7 @@
$ cd ..
$ hg --config experimental.sshpeer.advertise-v2=true --debug debugpeer ssh://user@dummy/server
- running * "*/tests/dummyssh" 'user at dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
- running * "*\tests/dummyssh" "user at dummy" "hg -R server serve --stdio" (glob) (windows !)
+ running .* ".*[/\\]dummyssh" ['"]user at dummy['"] ['"]hg -R server serve --stdio['"] (re)
sending upgrade request: * proto=exp-ssh-v2-0003 (glob)
devel-peer-request: hello+between
devel-peer-request: pairs: 81 bytes
@@ -1036,8 +1029,7 @@
Verify the peer has capabilities
$ hg --config experimental.sshpeer.advertise-v2=true --debug debugcapabilities ssh://user@dummy/server
- running * "*/tests/dummyssh" 'user at dummy' 'hg -R server serve --stdio' (glob) (no-windows !)
- running * "*\tests/dummyssh" "user at dummy" "hg -R server serve --stdio" (glob) (windows !)
+ running .* ".*[/\\]dummyssh" ['"]user at dummy['"] ['"]hg -R server serve --stdio['"] (re)
sending upgrade request: * proto=exp-ssh-v2-0003 (glob)
devel-peer-request: hello+between
devel-peer-request: pairs: 81 bytes
diff --git a/tests/test-debugcommands.t b/tests/test-debugcommands.t
--- a/tests/test-debugcommands.t
+++ b/tests/test-debugcommands.t
@@ -650,8 +650,7 @@
pushable: yes
$ hg --debug debugpeer ssh://user@dummy/debugrevlog
- running "*" "*/tests/dummyssh" 'user at dummy' 'hg -R debugrevlog serve --stdio' (glob) (no-windows !)
- running "*" "*\tests/dummyssh" "user at dummy" "hg -R debugrevlog serve --stdio" (glob) (windows !)
+ running .* ".*[/\\]dummyssh" ['"]user at dummy['"] ['"]hg -R debugrevlog serve --stdio['"] (re)
devel-peer-request: hello+between
devel-peer-request: pairs: 81 bytes
sending hello command
To: valentin.gatienbaron, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210830/a1c1af60/attachment-0002.html>
More information about the Mercurial-patches
mailing list