summaryrefslogtreecommitdiff
path: root/cpp/test/Slice/keyword/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Slice/keyword/run.py')
-rwxr-xr-xcpp/test/Slice/keyword/run.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Slice/keyword/run.py b/cpp/test/Slice/keyword/run.py
index f69363aa197..633c8b20cdf 100755
--- a/cpp/test/Slice/keyword/run.py
+++ b/cpp/test/Slice/keyword/run.py
@@ -21,12 +21,12 @@ sys.path.append(os.path.join(toplevel, "config"))
import TestUtil
name = os.path.join("Slice", "keyword")
-testdir = os.path.join(toplevel, "test", name)
+testdir = os.path.dirname(os.path.abspath(__file__))
client = os.path.join(testdir, "client")
print "starting client...",
-clientPipe = os.popen(client + " 2>&1")
+clientPipe = TestUtil.startClient(client, " 2>&1")
print "ok"
TestUtil.printOutputFromPipe(clientPipe);