summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rwxr-xr-xcpp/test/IcePack/simple/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/IcePack/simple/run.py b/cpp/test/IcePack/simple/run.py
index 82c781b519b..81a0fa43d60 100755
--- a/cpp/test/IcePack/simple/run.py
+++ b/cpp/test/IcePack/simple/run.py
@@ -48,7 +48,7 @@ print "testing adapter registration...",
hasTestAdapter = 0;
icePackAdminPipe = IcePackAdmin.listAdapters(toplevel);
for adaptername in icePackAdminPipe.xreadlines():
- if adaptername == "TestAdapter\n":
+ if adaptername.strip() == "TestAdapter":
hasTestAdapter = 1
if hasTestAdapter == 0: