diff options
Diffstat (limited to 'cpp/test/Freeze/dbmap/run.py')
-rwxr-xr-x | cpp/test/Freeze/dbmap/run.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/Freeze/dbmap/run.py b/cpp/test/Freeze/dbmap/run.py index 6fa90103510..4bd58428901 100755 --- a/cpp/test/Freeze/dbmap/run.py +++ b/cpp/test/Freeze/dbmap/run.py @@ -20,8 +20,7 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil -name = os.path.join("Freeze", "dbmap") -testdir = os.path.join(toplevel, "test", name) +testdir = os.path.dirname(os.path.abspath(__file__)) dbdir = os.path.join(testdir, "db") TestUtil.cleanDbDir(dbdir) @@ -29,7 +28,8 @@ TestUtil.cleanDbDir(dbdir) client = os.path.join(testdir, "client") print "starting client...", -clientPipe = os.popen(client + TestUtil.clientOptions + " --Freeze.Warn.Rollback=0 " + testdir + " 2>&1") +clientPipe = os.popen(TestUtil.getCommandLine(client, TestUtil.DriverConfig("client")) + " --Freeze.Warn.Rollback=0 " + + testdir + " 2>&1") print "ok" TestUtil.printOutputFromPipe(clientPipe) |