mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
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:
parent
b6e3c6c99e
commit
4ae9b32bb2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user