tests/test-ssh.t
branchstable
changeset 16606 19379226dc67
parent 16541 bb3334806ace
child 16608 289fdcd4cb47
equal deleted inserted replaced
16605:54fc9796d75b 16606:19379226dc67
   280 
   280 
   281 Test hg-ssh:
   281 Test hg-ssh:
   282 
   282 
   283   $ SSH_ORIGINAL_COMMAND="'hg' -R 'a repo' serve --stdio" hg id --ssh "python \"$TESTDIR\"/../contrib/hg-ssh \"$TESTTMP/a repo\"" "ssh://user@dummy/a repo"
   283   $ SSH_ORIGINAL_COMMAND="'hg' -R 'a repo' serve --stdio" hg id --ssh "python \"$TESTDIR\"/../contrib/hg-ssh \"$TESTTMP/a repo\"" "ssh://user@dummy/a repo"
   284   3fb238f49e8c
   284   3fb238f49e8c
       
   285 
   285   $ SSH_ORIGINAL_COMMAND="'hg' -R 'a repo' serve --stdio" hg id --ssh "python \"$TESTDIR\"/../contrib/hg-ssh \"$TESTTMP\"" "ssh://user@dummy/a repo"
   286   $ SSH_ORIGINAL_COMMAND="'hg' -R 'a repo' serve --stdio" hg id --ssh "python \"$TESTDIR\"/../contrib/hg-ssh \"$TESTTMP\"" "ssh://user@dummy/a repo"
   286   remote: Illegal repository '$TESTTMP/a repo' (glob)
   287   remote: Illegal repository "$TESTTMP/a repo" (glob)
   287   abort: no suitable response from remote hg!
   288   abort: no suitable response from remote hg!
   288   [255]
   289   [255]
       
   290 
   289   $ SSH_ORIGINAL_COMMAND="'hg' -R 'a'repo' serve --stdio" hg id --ssh "python \"$TESTDIR\"/../contrib/hg-ssh \"$TESTTMP\"" "ssh://user@dummy/a repo"
   291   $ SSH_ORIGINAL_COMMAND="'hg' -R 'a'repo' serve --stdio" hg id --ssh "python \"$TESTDIR\"/../contrib/hg-ssh \"$TESTTMP\"" "ssh://user@dummy/a repo"
   290   remote: Illegal command "'hg' -R 'a'repo' serve --stdio": No closing quotation
   292   remote: Illegal command "'hg' -R 'a'repo' serve --stdio": No closing quotation
   291   abort: no suitable response from remote hg!
   293   abort: no suitable response from remote hg!
   292   [255]
   294   [255]
   293 
   295