# HG changeset patch # User Matt Mackall # Date 1300997571 18000 # 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 -r ae157ca56cd5 -r e45780ac8292 tests/test-ssh.t --- 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]