run-tests: fix a path existence check
authorMatt Mackall <mpm@selenic.com>
Fri, 24 May 2013 13:52:05 -0500
changeset 19246 29ddf9d93e35
parent 19245 dcb05a1470bd
child 19247 b43ed416bc2d
run-tests: fix a path existence check
tests/run-tests.py
--- 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