tests/test-ssh.t
changeset 35436 31d21309635b
parent 35393 4441705b7111
child 35484 1853c8677160
equal deleted inserted replaced
35435:f01101100043 35436:31d21309635b
   594   > --config ui.ssherrorhint="Please see http://company/internalwiki/ssh.html"
   594   > --config ui.ssherrorhint="Please see http://company/internalwiki/ssh.html"
   595   pulling from ssh://brokenrepository/
   595   pulling from ssh://brokenrepository/
   596   abort: no suitable response from remote hg!
   596   abort: no suitable response from remote hg!
   597   (Please see http://company/internalwiki/ssh.html)
   597   (Please see http://company/internalwiki/ssh.html)
   598   [255]
   598   [255]
       
   599 
       
   600 test that custom environment is passed down to ssh executable
       
   601   $ cat >>dumpenv <<EOF
       
   602   > #! /bin/sh
       
   603   > echo \$VAR >&2
       
   604   > EOF
       
   605   $ chmod +x dumpenv
       
   606   $ hg pull ssh://something --config ui.ssh="./dumpenv"
       
   607   pulling from ssh://something/
       
   608   remote: 
       
   609   abort: no suitable response from remote hg!
       
   610   [255]
       
   611   $ hg pull ssh://something --config ui.ssh="./dumpenv" --config sshenv.VAR=17
       
   612   pulling from ssh://something/
       
   613   remote: 17
       
   614   abort: no suitable response from remote hg!
       
   615   [255]
       
   616