tests/test-clone.t
branchstable
changeset 33644 943c91326b23
parent 33643 00a75672a9cb
equal deleted inserted replaced
33643:00a75672a9cb 33644:943c91326b23
  1104   abort: potentially unsafe url: 'ssh://-oProxyCommand=touch${IFS}owned/path'
  1104   abort: potentially unsafe url: 'ssh://-oProxyCommand=touch${IFS}owned/path'
  1105   [255]
  1105   [255]
  1106   $ hg clone 'ssh://%2DoProxyCommand=touch${IFS}owned/path'
  1106   $ hg clone 'ssh://%2DoProxyCommand=touch${IFS}owned/path'
  1107   abort: potentially unsafe url: 'ssh://-oProxyCommand=touch${IFS}owned/path'
  1107   abort: potentially unsafe url: 'ssh://-oProxyCommand=touch${IFS}owned/path'
  1108   [255]
  1108   [255]
  1109   $ hg clone 'ssh://fakehost|shellcommand/path'
  1109   $ hg clone 'ssh://fakehost|touch%20owned/path'
  1110   abort: potentially unsafe url: 'ssh://fakehost|shellcommand/path'
  1110   abort: no suitable response from remote hg!
  1111   [255]
  1111   [255]
  1112   $ hg clone 'ssh://fakehost%7Cshellcommand/path'
  1112   $ hg clone 'ssh://fakehost%7Ctouch%20owned/path'
  1113   abort: potentially unsafe url: 'ssh://fakehost|shellcommand/path'
  1113   abort: no suitable response from remote hg!
  1114   [255]
  1114   [255]
  1115 
  1115 
  1116   $ hg clone 'ssh://-oProxyCommand=touch owned%20foo@example.com/nonexistent/path'
  1116   $ hg clone 'ssh://-oProxyCommand=touch owned%20foo@example.com/nonexistent/path'
  1117   abort: potentially unsafe url: 'ssh://-oProxyCommand=touch owned foo@example.com/nonexistent/path'
  1117   abort: potentially unsafe url: 'ssh://-oProxyCommand=touch owned foo@example.com/nonexistent/path'
  1118   [255]
  1118   [255]