Mercurial > hg > hg-git
comparison 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 |
comparison
equal
deleted
inserted
replaced
1056:3a7daf4e1cae | 1057:312c4bb96e68 |
---|---|
209 [255] | 209 [255] |
210 $ hg push 'git+ssh://-oProxyCommand=rm%20nonexistent/path' 2>&1 >/dev/null | 210 $ hg push 'git+ssh://-oProxyCommand=rm%20nonexistent/path' 2>&1 >/dev/null |
211 abort: potentially unsafe hostname: '-oProxyCommand=rm nonexistent' | 211 abort: potentially unsafe hostname: '-oProxyCommand=rm nonexistent' |
212 [255] | 212 [255] |
213 $ hg push 'git+ssh://fakehost|rm%20nonexistent/path' 2>&1 >/dev/null | grep -v ^devel-warn: | 213 $ hg push 'git+ssh://fakehost|rm%20nonexistent/path' 2>&1 >/dev/null | grep -v ^devel-warn: |
214 ssh: connect to host fakehost%7crm%20nonexistent port 22: * (glob) | 214 ssh: * fakehost%7crm%20nonexistent* (glob) |
215 abort: git remote error: The remote server unexpectedly closed the connection. | 215 abort: git remote error: The remote server unexpectedly closed the connection. |
216 $ hg push 'git+ssh://fakehost%7Crm%20nonexistent/path' 2>&1 >/dev/null | grep -v ^devel-warn: | 216 $ hg push 'git+ssh://fakehost%7Crm%20nonexistent/path' 2>&1 >/dev/null | grep -v ^devel-warn: |
217 ssh: connect to host fakehost%7crm%20nonexistent port 22: * (glob) | 217 ssh: * fakehost%7crm%20nonexistent* (glob) |
218 abort: git remote error: The remote server unexpectedly closed the connection. | 218 abort: git remote error: The remote server unexpectedly closed the connection. |