changeset 12504:f7dd8bffe18c

test-ssh: test absolute path that exists
author Brodie Rao <brodie@bitheap.org>
date Sun, 26 Sep 2010 14:35:52 -0500
parents b4711585a455
children b37d5ecc2227
files tests/test-ssh.t
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-ssh.t	Mon Sep 13 10:33:49 2010 -0300
+++ b/tests/test-ssh.t	Sun Sep 26 14:35:52 2010 -0500
@@ -141,6 +141,18 @@
   summary:     add
   
 
+find incoming on the remote side (using absolute path)
+
+  $ hg incoming -R ../remote -e "python ../dummyssh" "ssh://user@dummy/`pwd`"
+  comparing with ssh://user@dummy/*/test-ssh.t/local (glob)
+  searching for changes
+  changeset:   1:a28a9d1a809c
+  tag:         tip
+  user:        test
+  date:        Thu Jan 01 00:00:00 1970 +0000
+  summary:     add
+  
+
 push
 
   $ hg push
@@ -214,6 +226,7 @@
   Got arguments 1:user@dummy 2:hg -R remote serve --stdio
   Got arguments 1:user@dummy 2:hg -R remote serve --stdio
   Got arguments 1:user@dummy 2:hg -R local serve --stdio
+  Got arguments 1:user@dummy 2:hg -R /*/test-ssh.t/local serve --stdio (glob)
   Got arguments 1:user@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@dummy 2:hg -R remote serve --stdio