[PATCH] test-ssh: test absolute path that exists
Brodie Rao
brodie at bitheap.org
Sun Sep 26 14:37:16 CDT 2010
# HG changeset patch
# User Brodie Rao <brodie at bitheap.org>
# Date 1285529752 18000
# Node ID 7b9880477bd2c89e2891dd4163e4b6cd13cbb365
# Parent deeef07c6e7da88301a4b5ed2da4e62e9b707bf9
test-ssh: test absolute path that exists
diff --git a/tests/test-ssh.t b/tests/test-ssh.t
--- a/tests/test-ssh.t
+++ b/tests/test-ssh.t
@@ -141,6 +141,18 @@ find incoming on the remote side
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 @@ push should succeed even though it has a
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 */test-ssh.t/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