Mercurial > hg-stable
diff tests/test-ssh.t @ 13405:682edefe7dbb
tests: use printenv.py where it is - don't copy it around
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 15 Feb 2011 02:17:43 +0100 |
parents | d4ab9486e514 |
children | da0ddd62b9d8 |
line wrap: on
line diff
--- 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