comparison tests/test-pull.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
364 [255] 364 [255]
365 $ hg pull 'git+ssh://-oProxyCommand=rm%20nonexistent/path' 2>&1 >/dev/null 365 $ hg pull 'git+ssh://-oProxyCommand=rm%20nonexistent/path' 2>&1 >/dev/null
366 abort: potentially unsafe hostname: '-oProxyCommand=rm nonexistent' 366 abort: potentially unsafe hostname: '-oProxyCommand=rm nonexistent'
367 [255] 367 [255]
368 $ hg pull 'git+ssh://fakehost|shellcommand/path' 2>&1 >/dev/null | grep -v ^devel-warn: 368 $ hg pull 'git+ssh://fakehost|shellcommand/path' 2>&1 >/dev/null | grep -v ^devel-warn:
369 ssh: connect to host fakehost%7cshellcommand port 22: * (glob) 369 ssh: * fakehost%7cshellcommand* (glob)
370 abort: git remote error: The remote server unexpectedly closed the connection. 370 abort: git remote error: The remote server unexpectedly closed the connection.
371 $ hg pull 'git+ssh://fakehost%7Cshellcommand/path' 2>&1 >/dev/null | grep -v ^devel-warn: 371 $ hg pull 'git+ssh://fakehost%7Cshellcommand/path' 2>&1 >/dev/null | grep -v ^devel-warn:
372 ssh: connect to host fakehost%7cshellcommand port 22: * (glob) 372 ssh: * fakehost%7cshellcommand* (glob)
373 abort: git remote error: The remote server unexpectedly closed the connection. 373 abort: git remote error: The remote server unexpectedly closed the connection.