--- a/tests/test-subrepo.t Wed Nov 14 11:52:13 2018 -0500
+++ b/tests/test-subrepo.t Fri Nov 16 18:37:26 2018 -0500
@@ -1889,6 +1889,7 @@
$ cd ..
$ hg clone malicious-proxycommand malicious-proxycommand-clone
updating to branch default
+ cloning subrepo s from ssh://-oProxyCommand%3Dtouch%24%7BIFS%7Downed/path
abort: potentially unsafe url: 'ssh://-oProxyCommand=touch${IFS}owned/path' (in subrepository "s")
[255]
@@ -1901,6 +1902,7 @@
$ rm -r malicious-proxycommand-clone
$ hg clone malicious-proxycommand malicious-proxycommand-clone
updating to branch default
+ cloning subrepo s from ssh://-oProxyCommand%3Dtouch%24%7BIFS%7Downed/path
abort: potentially unsafe url: 'ssh://-oProxyCommand=touch${IFS}owned/path' (in subrepository "s")
[255]
@@ -1913,6 +1915,7 @@
$ rm -r malicious-proxycommand-clone
$ hg clone malicious-proxycommand malicious-proxycommand-clone
updating to branch default
+ cloning subrepo s from ssh://fakehost%7Ctouch%24%7BIFS%7Downed/path
abort: no suitable response from remote hg!
[255]
$ [ ! -f owned ] || echo 'you got owned'
@@ -1926,6 +1929,7 @@
$ rm -r malicious-proxycommand-clone
$ hg clone malicious-proxycommand malicious-proxycommand-clone
updating to branch default
+ cloning subrepo s from ssh://fakehost%7Ctouch%20owned/path
abort: no suitable response from remote hg!
[255]
$ [ ! -f owned ] || echo 'you got owned'
@@ -1938,6 +1942,7 @@
$ rm -r malicious-proxycommand-clone
$ hg clone malicious-proxycommand malicious-proxycommand-clone
updating to branch default
+ cloning subrepo s from ssh://-oProxyCommand%3Dtouch%20owned@example.com/path
abort: potentially unsafe url: 'ssh://-oProxyCommand=touch owned@example.com/path' (in subrepository "s")
[255]