summaryrefslogtreecommitdiff
path: root/cpp/test/Freeze/cursor/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Freeze/cursor/run.py')
-rwxr-xr-xcpp/test/Freeze/cursor/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Freeze/cursor/run.py b/cpp/test/Freeze/cursor/run.py
index 30b4dca26db..91fc5539d00 100755
--- a/cpp/test/Freeze/cursor/run.py
+++ b/cpp/test/Freeze/cursor/run.py
@@ -12,6 +12,7 @@
import os, sys
for toplevel in [".", "..", "../..", "../../..", "../../../.."]:
+ toplevel = os.path.normpath(toplevel)
if os.path.exists(os.path.join(toplevel, "config", "TestUtil.py")):
break
else:
@@ -21,7 +22,6 @@ sys.path.append(os.path.join(toplevel, "config"))
import TestUtil
name = os.path.join("Freeze", "cursor")
-
testdir = os.path.join(toplevel, "test", name)
dbdir = os.path.join(testdir, "db")