Skip to content
Snippets Groups Projects
Commit 312c4bb96e68 authored by Kevin Bullock's avatar Kevin Bullock
Browse files

tests: update globs so ssh command injection tests pass on macOS

parent 3a7daf4e1cae
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,6 @@
abort: potentially unsafe hostname: '-oProxyCommand=rm${IFS}nonexistent'
[255]
$ hg clone 'git+ssh://fakehost|rm${IFS}nonexistent/path' 2>&1 >/dev/null | grep -v ^devel-warn:
ssh: connect to host fakehost%7crm%24%7bifs%7dnonexistent port 22: * (glob)
ssh: * fakehost%7crm%24%7bifs%7dnonexistent* (glob)
abort: git remote error: The remote server unexpectedly closed the connection.
$ hg clone 'git+ssh://fakehost%7Crm${IFS}nonexistent/path' 2>&1 >/dev/null | grep -v ^devel-warn:
......@@ -55,4 +55,4 @@
abort: git remote error: The remote server unexpectedly closed the connection.
$ hg clone 'git+ssh://fakehost%7Crm${IFS}nonexistent/path' 2>&1 >/dev/null | grep -v ^devel-warn:
ssh: connect to host fakehost%7crm%24%7bifs%7dnonexistent port 22: * (glob)
ssh: * fakehost%7crm%24%7bifs%7dnonexistent* (glob)
abort: git remote error: The remote server unexpectedly closed the connection.
......@@ -366,6 +366,6 @@
abort: potentially unsafe hostname: '-oProxyCommand=rm nonexistent'
[255]
$ hg pull 'git+ssh://fakehost|shellcommand/path' 2>&1 >/dev/null | grep -v ^devel-warn:
ssh: connect to host fakehost%7cshellcommand port 22: * (glob)
ssh: * fakehost%7cshellcommand* (glob)
abort: git remote error: The remote server unexpectedly closed the connection.
$ hg pull 'git+ssh://fakehost%7Cshellcommand/path' 2>&1 >/dev/null | grep -v ^devel-warn:
......@@ -370,4 +370,4 @@
abort: git remote error: The remote server unexpectedly closed the connection.
$ hg pull 'git+ssh://fakehost%7Cshellcommand/path' 2>&1 >/dev/null | grep -v ^devel-warn:
ssh: connect to host fakehost%7cshellcommand port 22: * (glob)
ssh: * fakehost%7cshellcommand* (glob)
abort: git remote error: The remote server unexpectedly closed the connection.
......@@ -211,6 +211,6 @@
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:
......@@ -215,4 +215,4 @@
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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment