diff tests/test-symlinks.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 afa3fbbcabd3
children 96ca817ec192
line wrap: on
line diff
--- a/tests/test-symlinks.t	Fri Jun 05 22:53:15 2015 -0400
+++ b/tests/test-symlinks.t	Mon Jun 08 14:44:30 2015 -0500
@@ -214,13 +214,13 @@
   
   $ hg manifest --debug
   2564acbe54bbbedfbf608479340b359f04597f80 644 @ dangling
-  $ "$TESTDIR/readlink.py" dangling
+  $ readlink.py dangling
   dangling -> nothing
 
   $ rm dangling
   $ ln -s void dangling
   $ hg commit -m 'change symlink'
-  $ "$TESTDIR/readlink.py" dangling
+  $ readlink.py dangling
   dangling -> void
 
 
@@ -228,7 +228,7 @@
 
   $ rm dangling
   $ ln -s empty dangling
-  $ "$TESTDIR/readlink.py" dangling
+  $ readlink.py dangling
   dangling -> empty
 
 
@@ -236,13 +236,13 @@
 
   $ hg revert -r 0 -a
   reverting dangling
-  $ "$TESTDIR/readlink.py" dangling
+  $ readlink.py dangling
   dangling -> nothing
 
 
 backups:
 
-  $ "$TESTDIR/readlink.py" *.orig
+  $ readlink.py *.orig
   dangling.orig -> empty
   $ rm *.orig
   $ hg up -C
@@ -255,7 +255,7 @@
   $ hg st -Cmard
   A dangling2
     dangling
-  $ "$TESTDIR/readlink.py" dangling dangling2
+  $ readlink.py dangling dangling2
   dangling -> void
   dangling2 -> void