diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2011-01-04 02:00:00 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2011-01-04 02:00:00 +0100 |
commit | c12a5c8202c3391673a4651c769863e6d08ffceb (patch) | |
tree | f5c63bd6e7656dd74d87896bc0194c26adc3147a /skype/t/irssi/skype-msg.test | |
parent | 6f5ab2a7c46f4388817f800b68141ca163412d37 (diff) |
Make tests a bit more robust
Sometimes skyped exits on startup because of the failure of some
underlying C lib (ie we get no expections), that's not something I want
to care about.
Diffstat (limited to 'skype/t/irssi/skype-msg.test')
-rw-r--r-- | skype/t/irssi/skype-msg.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/skype/t/irssi/skype-msg.test b/skype/t/irssi/skype-msg.test index d1d21e68..d35615cd 100644 --- a/skype/t/irssi/skype-msg.test +++ b/skype/t/irssi/skype-msg.test @@ -8,6 +8,10 @@ TESTPASSWORD="$TEST_SKYPE_PASSWORD" /expectbee 'Account successfully created' -command 'msg $$C account add skype @LOGIN@ @PASSWORD@' /expectbee 'Account successfully added' -command 'msg $$C account 0 set test_join true' /expectbee 'test_join' -command 'msg $$C account 0 on' +# use builtin test service +/expectjoin echo123 -command 'msg $$C echo123: ping, say pong' +/expectbee 'pong' -command 'quit Test Passed' +# use a public bot as well, just in case the above one would fail /expectjoin echo123 -command 'msg $$C add skype pam_bot' /expectjoin pam_bot -command 'msg $$C pam_bot: pambot help' /expectbee 'PamBot, thanks for chatting with me' -command 'quit Test Passed' |