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

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


# HG changeset patch
# User Eduard-Cristian Stefan <alexandrul.ct at gmail.com>
# Date 1340471898 -10800
# Node ID a800b20d069611fee8022950b38f716aa107685f
# Parent  7c3232c558066a496edb91c63b61911e600465ca
test-ssh.t: adapt for Windows

diff --git a/tests/test-ssh.t b/tests/test-ssh.t
--- a/tests/test-ssh.t
+++ b/tests/test-ssh.t
@@ -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 (glob)
   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 (glob)
   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


More information about the Mercurial-devel mailing list