Mercurial > hg
changeset 13755:e45780ac8292
ssh: fix password test
We don't support passwords in ssh URLs, and neither do some versions
of Python's urllib. Since we don't actually care much here, punt with
a glob in the test.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 24 Mar 2011 15:12:51 -0500 |
parents | ae157ca56cd5 |
children | 6b7077df4aa5 |
files | tests/test-ssh.t |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-ssh.t Thu Mar 24 18:39:54 2011 +0100 +++ b/tests/test-ssh.t Thu Mar 24 15:12:51 2011 -0500 @@ -280,9 +280,11 @@ test 2:6c0482d977a3 passwords in ssh urls are not supported +(we use a glob here because different Python versions give different +results here) $ hg push ssh://user:erroneouspwd@dummy/remote - pushing to ssh://user:erroneouspwd@dummy/remote + pushing to ssh://user:*@dummy/remote (glob) abort: password in URL not supported! [255]