diff tests/test-http.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 220a220ed088
children 8cd0159207df
line wrap: on
line diff
--- a/tests/test-http.t	Mon Jun 08 17:34:45 2015 -0500
+++ b/tests/test-http.t	Mon Jun 08 15:10:15 2015 -0500
@@ -119,7 +119,7 @@
 
   $ cd copy-pull
   $ echo '[hooks]' >> .hg/hgrc
-  $ echo "changegroup = python \"$TESTDIR/printenv.py\" changegroup" >> .hg/hgrc
+  $ echo "changegroup = printenv.py changegroup" >> .hg/hgrc
   $ hg pull
   pulling from http://localhost:$HGPORT1/
   searching for changes