summaryrefslogtreecommitdiff
path: root/java/config/IcePackAdmin.py
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2004-07-06 04:10:07 +0000
committerMichi Henning <michi@zeroc.com>2004-07-06 04:10:07 +0000
commit65d19258f37bec2de10cb85ce850868eea18251b (patch)
tree846c4d9b304888005055412fde76cbca9beb10c3 /java/config/IcePackAdmin.py
parentChanged test scripts to use unbuffered I/O so when we run the scripts from (diff)
downloadice-65d19258f37bec2de10cb85ce850868eea18251b.tar.bz2
ice-65d19258f37bec2de10cb85ce850868eea18251b.tar.xz
ice-65d19258f37bec2de10cb85ce850868eea18251b.zip
Got carried away when changing the tests to unbuffered I/O and changed more
than necessary. Changed back now :-)
Diffstat (limited to 'java/config/IcePackAdmin.py')
-rw-r--r--java/config/IcePackAdmin.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/java/config/IcePackAdmin.py b/java/config/IcePackAdmin.py
index 0b9670ee976..ad58d936268 100644
--- a/java/config/IcePackAdmin.py
+++ b/java/config/IcePackAdmin.py
@@ -62,7 +62,7 @@ def startIcePackRegistry(port, testdir):
r' --IcePack.Registry.DynamicRegistration' + \
r' --Ice.ProgramName=icepackregistry'
- (stdin, icePackPipe) = os.popen4(command, "r", 0)
+ (stdin, icePackPipe) = os.popen4(command)
TestUtil.getAdapterReady(icePackPipe)
TestUtil.getAdapterReady(icePackPipe)
TestUtil.getAdapterReady(icePackPipe)
@@ -97,7 +97,7 @@ def startIcePackNode(testdir):
r' --IcePack.Node.Trace.Server=0' + \
r' --IcePack.Node.PrintServersReady=node'
- (stdin, icePackPipe) = os.popen4(command, "r", 0)
+ (stdin, icePackPipe) = os.popen4(command)
TestUtil.getAdapterReady(icePackPipe)
TestUtil.waitServiceReady(icePackPipe, 'node')
print "ok"
@@ -116,7 +116,7 @@ def shutdownIcePackRegistry():
r' "--Ice.Default.Locator=IcePack/Locator:default -p ' + icePackPort + '" ' + \
r' -e "shutdown" ' + " 2>&1"
- icePackAdminPipe = os.popen(command, "r", 0)
+ icePackAdminPipe = os.popen(command)
TestUtil.printOutputFromPipe(icePackAdminPipe)
icePackAdminStatus = icePackAdminPipe.close()
if icePackAdminStatus:
@@ -134,7 +134,7 @@ def shutdownIcePackNode():
r' "--Ice.Default.Locator=IcePack/Locator:default -p ' + icePackPort + '" ' + \
r' -e "node shutdown localnode" ' + " 2>&1"
- icePackAdminPipe = os.popen(command, "r", 0)
+ icePackAdminPipe = os.popen(command)
TestUtil.printOutputFromPipe(icePackAdminPipe)
icePackAdminStatus = icePackAdminPipe.close()
if icePackAdminStatus:
@@ -152,7 +152,7 @@ def addApplication(descriptor, options):
r' "--Ice.Default.Locator=IcePack/Locator:default -p ' + icePackPort + '" ' + \
r' -e "application add \"' + descriptor + '\\" ' + options + ' \"' + " 2>&1"
- icePackAdminPipe = os.popen(command, "r", 0)
+ icePackAdminPipe = os.popen(command)
TestUtil.printOutputFromPipe(icePackAdminPipe)
icePackAdminStatus = icePackAdminPipe.close()
if icePackAdminStatus:
@@ -169,7 +169,7 @@ def removeApplication(descriptor):
r' "--Ice.Default.Locator=IcePack/Locator:default -p ' + icePackPort + '" ' + \
r' -e "application remove \"' + descriptor + '\\" \"' + " 2>&1"
- icePackAdminPipe = os.popen(command, "r", 0)
+ icePackAdminPipe = os.popen(command)
TestUtil.printOutputFromPipe(icePackAdminPipe)
icePackAdminStatus = icePackAdminPipe.close()
if icePackAdminStatus:
@@ -187,7 +187,7 @@ def addServer(serverDescriptor, options):
r' -e "server add ' + serverDescriptor + ' localnode ' + \
r' ' + options + '\"' + " 2>&1"
- icePackAdminPipe = os.popen(command, "r", 0)
+ icePackAdminPipe = os.popen(command)
TestUtil.printOutputFromPipe(icePackAdminPipe)
icePackAdminStatus = icePackAdminPipe.close()
if icePackAdminStatus:
@@ -203,7 +203,7 @@ def removeServer(name):
r' "--Ice.Default.Locator=IcePack/Locator:default -p ' + icePackPort + '" ' + \
r' -e "server remove \"' + name + '\\" \"' + " 2>&1"
- icePackAdminPipe = os.popen(command, "r", 0)
+ icePackAdminPipe = os.popen(command)
TestUtil.printOutputFromPipe(icePackAdminPipe)
icePackAdminStatus = icePackAdminPipe.close()
if icePackAdminStatus:
@@ -219,7 +219,7 @@ def startServer(name):
r' "--Ice.Default.Locator=IcePack/Locator:default -p ' + icePackPort + '" ' + \
r' -e "server start \"' + name + '\\""' + " 2>&1"
- icePackAdminPipe = os.popen(command, "r", 0)
+ icePackAdminPipe = os.popen(command)
TestUtil.printOutputFromPipe(icePackAdminPipe)
icePackAdminStatus = icePackAdminPipe.close()
if icePackAdminStatus:
@@ -235,7 +235,7 @@ def listAdapters():
r' "--Ice.Default.Locator=IcePack/Locator:default -p ' + icePackPort + '" ' + \
r' -e "adapter list"' + " 2>&1"
- icePackAdminPipe = os.popen(command, "r", 0)
+ icePackAdminPipe = os.popen(command)
return icePackAdminPipe
def cleanDbDir(path):