summaryrefslogtreecommitdiff
path: root/cpp/config/TestUtil.py
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2006-06-06 10:30:59 +0000
committerMatthew Newhook <matthew@zeroc.com>2006-06-06 10:30:59 +0000
commitc4c000a720fbae9d870edd42e3d344a6a5cd6cbe (patch)
treebb352db74f7e5843df0c4f9b1ddc94388d83ed9e /cpp/config/TestUtil.py
parentFixed VC++ compilation errors. (diff)
downloadice-c4c000a720fbae9d870edd42e3d344a6a5cd6cbe.tar.bz2
ice-c4c000a720fbae9d870edd42e3d344a6a5cd6cbe.tar.xz
ice-c4c000a720fbae9d870edd42e3d344a6a5cd6cbe.zip
supress adapter messages under cywgin.
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r--cpp/config/TestUtil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py
index b4915095d8d..1d2a9037951 100644
--- a/cpp/config/TestUtil.py
+++ b/cpp/config/TestUtil.py
@@ -230,8 +230,8 @@ class ReaderThread(Thread):
while 1:
line = self.pipe.readline()
if not line: break
- # supress object adapter ready messages.
- if line[len(line)-7:len(line)] != " ready\n":
+ # supress object adapter ready messages. Under windows the eol isn't \n.
+ if line[len(line)-8:len(line)-2] != " ready":
print self.token + ": " + line,
except IOError:
pass