Mercurial > hg
diff tests/test-ssh.t @ 25478:d19787db6fe0
tests: simplify printenv calls
Make printenv executable so that we don't need python, TESTDIR, or
quoting.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 08 Jun 2015 15:10:15 -0500 |
parents | 46727fea7a00 |
children | fd1e335d9876 |
line wrap: on
line diff
--- a/tests/test-ssh.t Mon Jun 08 17:34:45 2015 -0500 +++ b/tests/test-ssh.t Mon Jun 08 15:10:15 2015 -0500 @@ -27,7 +27,7 @@ > uncompressed = True > > [hooks] - > changegroup = python "$TESTDIR/printenv.py" changegroup-in-remote 0 ../dummylog + > changegroup = printenv.py changegroup-in-remote 0 ../dummylog > EOF $ cd .. @@ -104,7 +104,7 @@ checking files 2 files, 3 changesets, 2 total revisions $ echo '[hooks]' >> .hg/hgrc - $ echo "changegroup = python \"$TESTDIR/printenv.py\" changegroup-in-local 0 ../dummylog" >> .hg/hgrc + $ echo "changegroup = printenv.py changegroup-in-local 0 ../dummylog" >> .hg/hgrc empty default pull