Line | |
---|
1 | TESTNEEDEDVARS="TEST_SKYPE_ID TEST_SKYPE_PASSWORD" |
---|
2 | TESTDURATION=60 |
---|
3 | TESTCHECKRESULT="grep '\[Test Passed\]' status.log" |
---|
4 | TESTLOGIN="$TEST_SKYPE_ID" |
---|
5 | TESTPASSWORD="$TEST_SKYPE_PASSWORD" |
---|
6 | ### Test receiving call output |
---|
7 | /expectbee 'Welcome to the BitlBee' -command 'msg $$C register testing' |
---|
8 | /expectbee 'Account successfully created' -command 'msg $$C account add skype @LOGIN@ @PASSWORD@' |
---|
9 | /expectbee 'Account successfully added' -command 'msg $$C account 0 set test_join true' |
---|
10 | /expectbee 'test_join' -command 'msg $$C account 0 on' |
---|
11 | /expectjoin echo123 -command 'ctcp echo123 call' |
---|
12 | /expectbee 'You are currently ringing the user' -command 'ctcp echo123 hangup' |
---|
13 | /expectbee '(You cancelled the call|You finished the call)' -command 'quit Test Passed' |
---|
Note: See
TracBrowser
for help on using the repository browser.