source: protocols/skype/t/irssi/skype-msg.test @ a72dc2b

Last change on this file since a72dc2b was 43b1cd7, checked in by Miklos Vajna <vmiklos@…>, at 2011-04-12T00:10:57Z

Merge bitlbee-skype into bitlbee

  • Property mode set to 100644
File size: 931 bytes
RevLine 
[50d453d]1TESTNEEDEDVARS="TEST_SKYPE_ID TEST_SKYPE_PASSWORD"
2TESTDURATION=60
3TESTCHECKRESULT="grep '\[Test Passed\]' status.log"
4TESTLOGIN="$TEST_SKYPE_ID"
5TESTPASSWORD="$TEST_SKYPE_PASSWORD"
6### Test sending and receiving messages
7/expectbee 'Welcome to the BitlBee' -command 'msg $$C register testing'
8/expectbee 'Account successfully created' -command 'msg $$C account add skype @LOGIN@ @PASSWORD@'
[f5ae4a10]9/expectbee 'Account successfully added' -command 'msg $$C account 0 set test_join true'
10/expectbee 'test_join' -command 'msg $$C account 0 on'
[c12a5c8]11# use builtin test service
12/expectjoin echo123 -command 'msg $$C echo123: ping, say pong'
13/expectbee 'pong' -command 'quit Test Passed'
14# use a public bot as well, just in case the above one would fail
[3fa9c25]15/expectjoin echo123 -command 'msg $$C add skype pam_bot'
16/expectjoin pam_bot -command 'msg $$C pam_bot: pambot help'
17/expectbee 'PamBot, thanks for chatting with me' -command 'quit Test Passed'
Note: See TracBrowser for help on using the repository browser.