Commit 023518ae authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Initial commit.

parent 04cb6cda
# Increase coverage of src/libraries/libcommon/parser.c
lyskomd_start
client_start 0
talk_to client 0
send "A3Hfoo\n"
simple_expect "LysKOM" "connected"
# Log in
send "1000 0 5 [holl gazonk]\n"
simple_expect ":2 9 5 1" "0=login-old caused a login async msg"
simple_expect "=1000" "0=login-old succeeded"
# Create a few conferences
send "1001 10 [holl "Using (the) HURD"] 0000\n"
simple_expect "=1001 6"
send "1002 10 [holl "Hi! :-)"] 0000\n"
simple_expect "=1002 7"
send "1003 10 [holl "1 2 3 4 5 6 7 8 9"] 0000\n"
simple_expect "=1003 8"
send "1004 10 [holl "1 2 3 4 5 6 7 8 9 10"] 0000\n"
simple_expect "=1004 9"
send "1005 10 [holl "1 2 3 4 5 6 7 8 9 10 11"] 0000\n"
simple_expect "=1005 10"
send "1006 12 [holl ""]\n"
simple_expect "=1006 10 { 1 2 3 4 5 6 7 8 9 10 } { 0000 0000 0000 0000 1001 0000 0000 0000 0000 0000 }"
send "1007 12 [holl "1 2 3"]\n"
simple_expect "=1007 3 { 8 9 10 } { 0000 0000 0000 }"
send "1008 12 [holl "1 2 3 4 5 6 7 8 9 10"]\n"
simple_expect "=1008 2 { 9 10 } { 0000 0000 }"
# Shut down the server.
talk_to client 0
send "1009 42 255\n"
simple_expect "=1009" "42=enable succeeded"
send "1010 44 0\n"
simple_expect "=1010" "44=shutdown-kom succeeded"
simple_expect ":2 13 5 1" "c0 sees auto-logout of c0 after 44=shutdown-kom"
client_death 0
lyskomd_death
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment