aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarja Hassinen <ext-marja.2.hassinen@nokia.com>2009-10-27 16:39:47 +0200
committerMarja Hassinen <ext-marja.2.hassinen@nokia.com>2009-10-27 16:39:47 +0200
commit39930b262b5b2f32964eb3fbd1228b6859dbfd05 (patch)
tree1afb2fa4661881751e884f4ef50cfb17827598bd
parent0d10978ef7662ad8ee44ad03ad880f41eba89083 (diff)
libcontextsubscriber, cust. tests: Waiting for context-listen to start.
-rwxr-xr-xlibcontextsubscriber/customer-tests/commander/commander_nonexistent.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcontextsubscriber/customer-tests/commander/commander_nonexistent.py b/libcontextsubscriber/customer-tests/commander/commander_nonexistent.py
index e892a7fd..6bdb8295 100755
--- a/libcontextsubscriber/customer-tests/commander/commander_nonexistent.py
+++ b/libcontextsubscriber/customer-tests/commander/commander_nonexistent.py
@@ -44,6 +44,8 @@ class CommanderNonExistent(unittest.TestCase):
provider.send("dump")
self.assert_(provider.expect(CLTool.STDOUT, "Wrote", 10)) # wait for it
listen = CLTool("context-listen", "test.int", "test.string")
+ listen.expect(CLTool.STDERR, "Available commands", 10) # wait for starting
+
commander = CLTool("context-provide", "--v2")
commander.send("add string test.int foobar")
commander.send("add string test.string barfoo")