diff tests/test-static-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 8c14f87bd0ae
children f1d46075b13a
line wrap: on
line diff
--- a/tests/test-static-http.t	Mon Jun 08 17:34:45 2015 -0500
+++ b/tests/test-static-http.t	Mon Jun 08 15:10:15 2015 -0500
@@ -60,7 +60,7 @@
   $ rm .hg/cache/*
   $ cd ../local
   $ echo '[hooks]' >> .hg/hgrc
-  $ echo "changegroup = python \"$TESTDIR/printenv.py\" changegroup" >> .hg/hgrc
+  $ echo "changegroup = printenv.py changegroup" >> .hg/hgrc
   $ hg pull
   pulling from static-http://localhost:$HGPORT/remote
   searching for changes