test-ssh: remove superfluous triple slashes from absolute path test

Because pwd should start with "/", "/`pwd`" is enough to make absolute path.
This commit is contained in:
Yuya Nishihara 2015-09-01 16:38:52 +09:00
parent b6e3c6c99e
commit 4ae9b32bb2

View File

@ -40,7 +40,7 @@ repo not found error
non-existent absolute path
$ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy//`pwd`/nonexistent local
$ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/`pwd`/nonexistent local
remote: abort: there is no Mercurial repository here (.hg not found)!
abort: no suitable response from remote hg!
[255]
@ -471,7 +471,7 @@ debug output
$ cat dummylog
Got arguments 1:user@dummy 2:hg -R nonexistent serve --stdio
Got arguments 1:user@dummy 2:hg -R /$TESTTMP/nonexistent serve --stdio
Got arguments 1:user@dummy 2:hg -R $TESTTMP/nonexistent serve --stdio
Got arguments 1:user@dummy 2:hg -R remote serve --stdio
Got arguments 1:user@dummy 2:hg -R local-stream serve --stdio
Got arguments 1:user@dummy 2:hg -R remote serve --stdio