summaryrefslogtreecommitdiff
path: root/cpp/test/IceStorm/rep1/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceStorm/rep1/test.py')
-rw-r--r--cpp/test/IceStorm/rep1/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/IceStorm/rep1/test.py b/cpp/test/IceStorm/rep1/test.py
index 7385a9d8d25..3c9ba79776b 100644
--- a/cpp/test/IceStorm/rep1/test.py
+++ b/cpp/test/IceStorm/rep1/test.py
@@ -62,7 +62,7 @@ class IceStormRep1TestCase(IceStormTestCase):
readyCount=0,
quiet=True)
subscriber.run(current, exitstatus=1 if expect else 0)
- checkExpect(subscriber.getOutput(), expect)
+ checkExpect(subscriber.getOutput(current), expect)
def rununsub2(replica=None, expect=None):
sub = Subscriber(exe="sub",
@@ -77,7 +77,7 @@ class IceStormRep1TestCase(IceStormTestCase):
# shouldn't get an AlreadySubscribedException.
sub.run(current, exitstatus=1 if expect else 0)
if expect:
- checkExpect(sub.getOutput(), expect)
+ checkExpect(sub.getOutput(current), expect)
return
sub.run(current, args=["--unsub"])