run-tests: fix a path existence check stable
authorMatt Mackall <mpm@selenic.com>
Fri, 24 May 2013 13:52:05 -0500
branchstable
changeset 1234 750a0ed6f380
parent 1233 e15c19e34344
child 1235 8fd26ac1deca
run-tests: fix a path existence check [ original upstream message ]
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