blob: 8f502a591929297798bc483bfe109f2cba329b4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
TESTNEEDEDVARS="TEST_SKYPE_ID TEST_SKYPE_PASSWORD"
TESTDURATION=60
TESTCHECKRESULT="grep '\[Test Passed\]' status.log"
TESTLOGIN="$TEST_SKYPE_ID"
TESTPASSWORD="$TEST_SKYPE_PASSWORD"
### Test receiving call output
/expectbee 'Welcome to the BitlBee' -command 'msg $$C register testing'
/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'
/expectjoin echo123 -command 'ctcp echo123 call'
/expectbee 'You are currently ringing the user' -command 'ctcp echo123 hangup'
/expectbee '(You cancelled the call|You finished the call)' -command 'quit Test Passed'
|