--- a/tests/test-push-http.t Mon Jun 08 17:34:45 2015 -0500
+++ b/tests/test-push-http.t Mon Jun 08 15:10:15 2015 -0500
@@ -58,8 +58,8 @@
$ echo 'allow_push = *' >> .hg/hgrc
$ echo '[hooks]' >> .hg/hgrc
- $ echo "changegroup = python \"$TESTDIR/printenv.py\" changegroup 0" >> .hg/hgrc
- $ echo "pushkey = python \"$TESTDIR/printenv.py\" pushkey 0" >> .hg/hgrc
+ $ echo "changegroup = printenv.py changegroup 0" >> .hg/hgrc
+ $ echo "pushkey = printenv.py pushkey 0" >> .hg/hgrc
$ req
pushing to http://localhost:$HGPORT/
searching for changes
@@ -114,7 +114,7 @@
> push_ssl = false
> allow_push = *
> [hooks]
- > prepushkey = python "$TESTDIR/printenv.py" prepushkey 1
+ > prepushkey = printenv.py prepushkey 1
> EOF
$ req
pushing to http://localhost:$HGPORT/
@@ -130,7 +130,7 @@
expect phase change success
- $ echo "prepushkey = python \"$TESTDIR/printenv.py\" prepushkey 0" >> .hg/hgrc
+ $ echo "prepushkey = printenv.py prepushkey 0" >> .hg/hgrc
$ req
pushing to http://localhost:$HGPORT/
searching for changes