summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/gc/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/gc/run.py')
-rwxr-xr-xcpp/test/Ice/gc/run.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/test/Ice/gc/run.py b/cpp/test/Ice/gc/run.py
index 9eea4f939ee..0430fd0fe33 100755
--- a/cpp/test/Ice/gc/run.py
+++ b/cpp/test/Ice/gc/run.py
@@ -26,7 +26,8 @@ testdir = os.path.join(toplevel, "test", name)
client = os.path.join(testdir, "client")
print "starting client...",
-clientPipe = os.popen(client + TestUtil.clientOptions + " 2>&1")
+seedfile = testdir + "/seed"
+clientPipe = os.popen(client + TestUtil.clientOptions + " " + seedfile + " 2>&1")
print "ok"
TestUtil.printOutputFromPipe(clientPipe)
@@ -36,4 +37,6 @@ clientStatus = TestUtil.closePipe(clientPipe)
if clientStatus:
sys.exit(1)
+os.remove(seedfile)
+
sys.exit(0)