[PATCH 0 of 1 ] test-ssh.t: adapt for Windows

alexandrul.ct at gmail.com alexandrul.ct at gmail.com
Sat Jun 23 12:20:08 CDT 2012


On my PC this is the result without this patch:

--- d:\hg\tests\test-ssh.t
+++ d:\hg\tests\test-ssh.t.err
@@ -348,13 +348,13 @@

   $ cat dummylog
   Got arguments 1:user at dummy 2:hg -R nonexistent serve --stdio
-  Got arguments 1:user at dummy 2:hg -R /$TESTTMP/nonexistent serve --stdio
+  Got arguments 1:user at dummy 2:hg -R '/$TESTTMP/nonexistent' serve --stdio
   Got arguments 1:user at dummy 2:hg -R remote serve --stdio
   Got arguments 1:user at dummy 2:hg -R remote serve --stdio
   Got arguments 1:user at dummy 2:hg -R remote serve --stdio
   Got arguments 1:user at dummy 2:hg -R remote serve --stdio
   Got arguments 1:user at dummy 2:hg -R local serve --stdio
-  Got arguments 1:user at dummy 2:hg -R $TESTTMP/local serve --stdio
+  Got arguments 1:user at dummy 2:hg -R '$TESTTMP/local' serve --stdio
   Got arguments 1:user at dummy 2:hg -R remote serve --stdio
   changegroup-in-remote hook: HG_NODE=a28a9d1a809cab7d4e2fde4bee738a9ede948b60 HG_SOURCE=serve HG_URL=remote:ssh:127.0.0.1
   Got arguments 1:user at dummy 2:hg -R remote serve --stdio

ERROR: d:\hg\tests\test-ssh.t output changed
!
Failed test-ssh.t: output changed
# Ran 1 tests, 0 skipped, 1 failed.


More information about the Mercurial-devel mailing list