# HG changeset patch # User Matt Mackall # Date 2011-03-24 20:12:51 # Node ID e45780ac829283080ad6b5a5e064e59a163c08d6 # Parent ae157ca56cd5cc74d4adcefff24e7385a8ebb370 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. diff --git a/tests/test-ssh.t b/tests/test-ssh.t --- a/tests/test-ssh.t +++ b/tests/test-ssh.t @@ -280,9 +280,11 @@ clone bookmarks 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]