# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1511662947 -32400
#      Sun Nov 26 11:22:27 2017 +0900
# Node ID 3180ff7f60253ee1d6ae1f4608acb96c60adeef3
# Parent  4abfe416925978cce11c0a131801c818d2fd67ba
test-ssh: do not actually look up "brokenrepository" by DNS

diff --git a/tests/test-ssh.t b/tests/test-ssh.t
--- a/tests/test-ssh.t
+++ b/tests/test-ssh.t
@@ -581,17 +581,16 @@
 
 abort with no error hint when there is a ssh problem when pulling
 
-  $ hg pull ssh://brokenrepository
+  $ hg pull ssh://brokenrepository -e "\"$PYTHON\" \"$TESTDIR/dummyssh\""
   pulling from ssh://brokenrepository/
-  remote: ssh: Could not resolve hostname brokenrepository: Name or service not known
   abort: no suitable response from remote hg!
   [255]
 
 abort with configured error hint when there is a ssh problem when pulling
 
-  $ hg pull ssh://brokenrepository --config ui.ssherrorhint="Please see http://company/internalwiki/ssh.html"
+  $ hg pull ssh://brokenrepository -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" \
+  > --config ui.ssherrorhint="Please see http://company/internalwiki/ssh.html"
   pulling from ssh://brokenrepository/
-  remote: ssh: Could not resolve hostname brokenrepository: Name or service not known
   abort: no suitable response from remote hg!
   (Please see http://company/internalwiki/ssh.html)
   [255]