changeset 19246:29ddf9d93e35

run-tests: fix a path existence check
author Matt Mackall <mpm@selenic.com>
date Fri, 24 May 2013 13:52:05 -0500
parents dcb05a1470bd
children b43ed416bc2d
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Fri May 24 13:51:20 2013 -0500
+++ b/tests/run-tests.py	Fri May 24 13:52:05 2013 -0500
@@ -881,7 +881,7 @@
     err = os.path.join(TESTDIR, test + ".err")
     lctest = test.lower()
 
-    if not os.path.exists(test):
+    if not os.path.exists(testpath):
             skip("doesn't exist")
             return None