ssh: fix password test
authorMatt Mackall <mpm@selenic.com>
Thu, 24 Mar 2011 15:12:51 -0500
changeset 13755 e45780ac8292
parent 13754 ae157ca56cd5
child 13756 6b7077df4aa5
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.
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]