[PATCH] test-subrepo-relative-path: partially adapt for Windows
Adrian Buehlmann
adrian at cadifra.com
Mon Jul 2 10:03:18 CDT 2012
# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1341240841 -7200
# Node ID 7accc6957ee62f7390836047b651c532770f1bc8
# Parent ea4c710481c41f8efed5cac7d55045cfd7c82968
test-subrepo-relative-path: partially adapt for Windows
diff --git a/tests/test-subrepo-relative-path.t b/tests/test-subrepo-relative-path.t
--- a/tests/test-subrepo-relative-path.t
+++ b/tests/test-subrepo-relative-path.t
@@ -74,9 +74,7 @@
subrepo paths with ssh urls
- $ cp "$TESTDIR/dummyssh" "$BINDIR/ssh"
-
- $ hg clone ssh://user@dummy/cloned sshclone
+ $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/cloned sshclone
requesting all changes
adding changesets
adding manifests
@@ -91,7 +89,7 @@
added 1 changesets with 1 changes to 1 files
3 files updated, 0 files merged, 0 files removed, 0 files unresolved
- $ hg -R sshclone push ssh://user@dummy/$TESTTMP/cloned
+ $ hg -R sshclone push -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/`pwd`/cloned
pushing to ssh://user@dummy/$TESTTMP/cloned
pushing subrepo sub to ssh://user@dummy/$TESTTMP/sub
searching for changes
@@ -105,4 +103,3 @@
Got arguments 1:user at dummy 2:hg -R sub serve --stdio
Got arguments 1:user at dummy 2:hg -R $TESTTMP/cloned serve --stdio
Got arguments 1:user at dummy 2:hg -R $TESTTMP/sub serve --stdio
- $ rm "$BINDIR/ssh"
More information about the Mercurial-devel
mailing list