Mercurial > hg
comparison tests/test-ssh.t @ 26141:fa6ba7c9600b
test-ssh: remove superfluous triple slashes from absolute path test
Because pwd should start with "/", "/`pwd`" is enough to make absolute path.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 01 Sep 2015 16:38:52 +0900 |
parents | c63bf97cf7c7 |
children | 7332bf4ae959 |
comparison
equal
deleted
inserted
replaced
26140:a31ffc445f02 | 26141:fa6ba7c9600b |
---|---|
38 abort: no suitable response from remote hg! | 38 abort: no suitable response from remote hg! |
39 [255] | 39 [255] |
40 | 40 |
41 non-existent absolute path | 41 non-existent absolute path |
42 | 42 |
43 $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy//`pwd`/nonexistent local | 43 $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/`pwd`/nonexistent local |
44 remote: abort: there is no Mercurial repository here (.hg not found)! | 44 remote: abort: there is no Mercurial repository here (.hg not found)! |
45 abort: no suitable response from remote hg! | 45 abort: no suitable response from remote hg! |
46 [255] | 46 [255] |
47 | 47 |
48 clone remote via stream | 48 clone remote via stream |
469 | 469 |
470 $ cd .. | 470 $ cd .. |
471 | 471 |
472 $ cat dummylog | 472 $ cat dummylog |
473 Got arguments 1:user@dummy 2:hg -R nonexistent serve --stdio | 473 Got arguments 1:user@dummy 2:hg -R nonexistent serve --stdio |
474 Got arguments 1:user@dummy 2:hg -R /$TESTTMP/nonexistent serve --stdio | 474 Got arguments 1:user@dummy 2:hg -R $TESTTMP/nonexistent serve --stdio |
475 Got arguments 1:user@dummy 2:hg -R remote serve --stdio | 475 Got arguments 1:user@dummy 2:hg -R remote serve --stdio |
476 Got arguments 1:user@dummy 2:hg -R local-stream serve --stdio | 476 Got arguments 1:user@dummy 2:hg -R local-stream serve --stdio |
477 Got arguments 1:user@dummy 2:hg -R remote serve --stdio | 477 Got arguments 1:user@dummy 2:hg -R remote serve --stdio |
478 Got arguments 1:user@dummy 2:hg -R remote serve --stdio | 478 Got arguments 1:user@dummy 2:hg -R remote serve --stdio |
479 Got arguments 1:user@dummy 2:hg -R doesnotexist serve --stdio | 479 Got arguments 1:user@dummy 2:hg -R doesnotexist serve --stdio |