diff tests/test-unified-test.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 8d45a42b0c0f
children 6a98f9408a50
line wrap: on
line diff
--- a/tests/test-unified-test.t	Fri Jun 05 22:53:15 2015 -0400
+++ b/tests/test-unified-test.t	Mon Jun 08 14:44:30 2015 -0500
@@ -88,14 +88,14 @@
 
 testing hghave
 
-  $ "$TESTDIR/hghave" true
-  $ "$TESTDIR/hghave" false
+  $ hghave true
+  $ hghave false
   skipped: missing feature: nail clipper
   [1]
-  $ "$TESTDIR/hghave" no-true
+  $ hghave no-true
   skipped: system supports yak shaving
   [1]
-  $ "$TESTDIR/hghave" no-false
+  $ hghave no-false
 
 Conditional sections based on hghave: