tests/test-clone.t
branchstable
changeset 33660 3fee7f7d2da0
parent 33659 8cb9e921ef8c
child 33773 6c1a9fd8361b
equal deleted inserted replaced
33659:8cb9e921ef8c 33660:3fee7f7d2da0
  1109   abort: potentially unsafe url: 'ssh://-oProxyCommand=touch${IFS}owned/path'
  1109   abort: potentially unsafe url: 'ssh://-oProxyCommand=touch${IFS}owned/path'
  1110   [255]
  1110   [255]
  1111   $ hg clone 'ssh://%2DoProxyCommand=touch${IFS}owned/path'
  1111   $ hg clone 'ssh://%2DoProxyCommand=touch${IFS}owned/path'
  1112   abort: potentially unsafe url: 'ssh://-oProxyCommand=touch${IFS}owned/path'
  1112   abort: potentially unsafe url: 'ssh://-oProxyCommand=touch${IFS}owned/path'
  1113   [255]
  1113   [255]
  1114   $ hg clone 'ssh://fakehost|shellcommand/path'
  1114   $ hg clone 'ssh://fakehost|touch%20owned/path'
  1115   abort: potentially unsafe url: 'ssh://fakehost|shellcommand/path'
  1115   abort: no suitable response from remote hg!
  1116   [255]
  1116   [255]
  1117   $ hg clone 'ssh://fakehost%7Cshellcommand/path'
  1117   $ hg clone 'ssh://fakehost%7Ctouch%20owned/path'
  1118   abort: potentially unsafe url: 'ssh://fakehost|shellcommand/path'
  1118   abort: no suitable response from remote hg!
  1119   [255]
  1119   [255]
  1120 
  1120 
  1121   $ hg clone 'ssh://-oProxyCommand=touch owned%20foo@example.com/nonexistent/path'
  1121   $ hg clone 'ssh://-oProxyCommand=touch owned%20foo@example.com/nonexistent/path'
  1122   abort: potentially unsafe url: 'ssh://-oProxyCommand=touch owned foo@example.com/nonexistent/path'
  1122   abort: potentially unsafe url: 'ssh://-oProxyCommand=touch owned foo@example.com/nonexistent/path'
  1123   [255]
  1123   [255]