summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-xscripts/TestUtil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index 2bc12f3a392..09efa1d2a98 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -104,7 +104,7 @@ toplevel = path[0]
def sanitize(cp):
np = ""
for p in cp.split(os.pathsep):
- if p == "classes" or p == "./classes":
+ if os.path.normpath(p) == "classes":
continue
if len(np) > 0:
np = np + os.pathsep