summaryrefslogtreecommitdiff
path: root/py/test/Ice/faultTolerance/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/test/Ice/faultTolerance/run.py')
-rwxr-xr-xpy/test/Ice/faultTolerance/run.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/py/test/Ice/faultTolerance/run.py b/py/test/Ice/faultTolerance/run.py
index fe87c5caade..ff12f3baacb 100755
--- a/py/test/Ice/faultTolerance/run.py
+++ b/py/test/Ice/faultTolerance/run.py
@@ -23,8 +23,11 @@ import TestUtil
name = os.path.join("Ice", "faultTolerance")
testdir = os.path.join(toplevel, "test", name)
-server = os.path.join(testdir, "Server.py")
-client = os.path.join(testdir, "Client.py")
+cwd = os.getcwd()
+os.chdir(testdir)
+
+server = "Server.py"
+client = "Client.py"
num = 12
base = 12340
@@ -55,6 +58,8 @@ if clientStatus:
TestUtil.killServers()
sys.exit(1)
+os.chdir(cwd)
+
#
# Exit with status 0 even though some servers failed to shutdown
# properly. There's a problem which is occuring on Linux dual-processor