summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-03-09 08:46:29 -0230
committerDwayne Boone <dwayne@zeroc.com>2009-03-09 08:46:29 -0230
commitcf1a84e0bae6d2461a78ae04c23780cae430a5ba (patch)
tree70e09c4be6469ac49b69a02aa4d42512ed1f605b /scripts/TestUtil.py
parentBug 3791: No mention of protobuf support in CHANGES file (diff)
downloadice-cf1a84e0bae6d2461a78ae04c23780cae430a5ba.tar.bz2
ice-cf1a84e0bae6d2461a78ae04c23780cae430a5ba.tar.xz
ice-cf1a84e0bae6d2461a78ae04c23780cae430a5ba.zip
Bug 3786 - use normpath on CLASSPATH to detect "classes"
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