test-ssh: remove superfluous triple slashes from absolute path test
authorYuya Nishihara <yuya@tcha.org>
Tue, 01 Sep 2015 16:38:52 +0900
changeset 26141 fa6ba7c9600b
parent 26140 a31ffc445f02
child 26142 7332bf4ae959
test-ssh: remove superfluous triple slashes from absolute path test Because pwd should start with "/", "/`pwd`" is enough to make absolute path.
tests/test-ssh.t
--- a/tests/test-ssh.t	Wed Sep 02 11:52:24 2015 -0500
+++ b/tests/test-ssh.t	Tue Sep 01 16:38:52 2015 +0900
@@ -40,7 +40,7 @@
 
 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 @@
 
   $ 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