From 480a093f5484a15d616bbd68bf8f2f3417b4748e Mon Sep 17 00:00:00 2001 From: "mads.s.ager@gmail.com" Date: Fri, 29 Aug 2008 11:01:05 +0000 Subject: [PATCH] Normalize the test suite path before passing it to basename. basename returns '' if the path ends in a path separator. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@45 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- tools/test.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/test.py b/tools/test.py index 357dfb314..ddf2d5117 100755 --- a/tools/test.py +++ b/tools/test.py @@ -394,8 +394,9 @@ class TestSuite(object): class TestRepository(TestSuite): def __init__(self, path): - super(TestRepository, self).__init__(basename(path)) - self.path = abspath(path) + normalized_path = abspath(path) + super(TestRepository, self).__init__(basename(normalized_path)) + self.path = normalized_path self.is_loaded = False self.config = None -- 2.34.1