diff tests/test-push.t @ 1057:312c4bb96e68

tests: update globs so ssh command injection tests pass on macOS
author Kevin Bullock <kbullock@ringworld.org>
date Mon, 23 Oct 2017 14:41:36 -0500
parents c35751c248c3
children
line wrap: on
line diff
--- a/tests/test-push.t
+++ b/tests/test-push.t
@@ -211,8 +211,8 @@
   abort: potentially unsafe hostname: '-oProxyCommand=rm nonexistent'
   [255]
   $ hg push 'git+ssh://fakehost|rm%20nonexistent/path' 2>&1 >/dev/null | grep -v ^devel-warn:
-  ssh: connect to host fakehost%7crm%20nonexistent port 22: * (glob)
+  ssh: * fakehost%7crm%20nonexistent* (glob)
   abort: git remote error: The remote server unexpectedly closed the connection.
   $ hg push 'git+ssh://fakehost%7Crm%20nonexistent/path' 2>&1 >/dev/null | grep -v ^devel-warn:
-  ssh: connect to host fakehost%7crm%20nonexistent port 22: * (glob)
+  ssh: * fakehost%7crm%20nonexistent* (glob)
   abort: git remote error: The remote server unexpectedly closed the connection.