diff tests/test-websub.t @ 25472:4d2b9b304ad0

tests: drop explicit $TESTDIR from executables $TESTDIR is added to the path, so this is superfluous. Also, inconsistent use of quotes means we might have broken on tests with paths containing spaces.
author Matt Mackall <mpm@selenic.com>
date Mon, 08 Jun 2015 14:44:30 -0500
parents 7a9cbb315d84
children 6ccf539aec71
line wrap: on
line diff
--- a/tests/test-websub.t	Fri Jun 05 22:53:15 2015 -0400
+++ b/tests/test-websub.t	Mon Jun 08 14:44:30 2015 -0500
@@ -27,7 +27,7 @@
 
 log
 
-  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT "rev/tip" | grep bts
+  $ get-with-headers.py localhost:$HGPORT "rev/tip" | grep bts
   <div class="description"><a href="http://bts.example.org/issue123">Issue123</a>: fixed the <i class="x">bug</i>!</div>
 errors