diff tests/test-subrepo-relative-path.t @ 25476:46727fea7a00

tests: simplify calls to dummyssh dummyssh is marked executable and is in the path, no need for python, TESTDIR, or quotes.
author Matt Mackall <mpm@selenic.com>
date Mon, 08 Jun 2015 15:02:49 -0500
parents 8c14f87bd0ae
children c63bf97cf7c7
line wrap: on
line diff
--- a/tests/test-subrepo-relative-path.t	Mon Jun 08 17:33:32 2015 -0500
+++ b/tests/test-subrepo-relative-path.t	Mon Jun 08 15:02:49 2015 -0500
@@ -74,7 +74,7 @@
 
 subrepo paths with ssh urls
 
-  $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/cloned sshclone
+  $ hg clone -e dummyssh ssh://user@dummy/cloned sshclone
   requesting all changes
   adding changesets
   adding manifests
@@ -89,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 -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/`pwd`/cloned
+  $ hg -R sshclone push -e 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