tests/test-ssh.t
changeset 13405 682edefe7dbb
parent 13368 d4ab9486e514
child 13464 da0ddd62b9d8
--- a/tests/test-ssh.t	Tue Feb 15 01:05:32 2011 +0100
+++ b/tests/test-ssh.t	Tue Feb 15 02:17:43 2011 +0100
@@ -1,5 +1,4 @@
 
-  $ cp "$TESTDIR"/printenv.py .
 
 This test tries to exercise the ssh functionality with a dummy script
 
@@ -45,7 +44,7 @@
   > bookmarks =
   > 
   > [hooks]
-  > changegroup = python ../printenv.py changegroup-in-remote 0 ../dummylog
+  > changegroup = python "$TESTDIR"/printenv.py changegroup-in-remote 0 ../dummylog
   > EOF
   $ cd ..
 
@@ -101,7 +100,7 @@
   checking files
   2 files, 1 changesets, 2 total revisions
   $ echo '[hooks]' >> .hg/hgrc
-  $ echo 'changegroup = python ../printenv.py changegroup-in-local 0 ../dummylog' >> .hg/hgrc
+  $ echo 'changegroup = python "$TESTDIR"/printenv.py changegroup-in-local 0 ../dummylog' >> .hg/hgrc
 
 empty default pull