summaryrefslogtreecommitdiff
path: root/py/test/Ice/faultTolerance/run.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-09-03 22:11:20 +0000
committerMark Spruiell <mes@zeroc.com>2004-09-03 22:11:20 +0000
commit0337fd31dfa9d0e7482eb8d57a294fc5d01ac00f (patch)
tree985c542ecd5c8472663d5880bb10055608756754 /py/test/Ice/faultTolerance/run.py
parenttype refactoring (diff)
downloadice-0337fd31dfa9d0e7482eb8d57a294fc5d01ac00f.tar.bz2
ice-0337fd31dfa9d0e7482eb8d57a294fc5d01ac00f.tar.xz
ice-0337fd31dfa9d0e7482eb8d57a294fc5d01ac00f.zip
test fixes
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