Commit ce513e6e authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Added tests for requests 42-50.

parent 93279b91
......@@ -166,30 +166,60 @@ simple_expect "%1049 6 0"
# 41:set-motd-of-lyskom
send "1050 41 1\n"
simple_expect "%1050 6 0"
# 42:enable
send "1051 42 255\n"
simple_expect "%1051 6 0"
# 43:sync-kom
send "1052 43\n"
simple_expect "%1052 6 0"
# 44:shutdown-kom
send "1053 44 2\n"
simple_expect "%1053 6 0"
# 45:broadcast
send "1054 45 [holl "broadcast-message"]\n"
simple_expect "%1054 6 0"
# 46:get-membership-old
send "1055 46 5 1 3 1\n"
simple_expect "%1055 6 0"
# 47:get-created-texts
send "1056 47 5 1 3\n"
simple_expect "%1056 6 0"
# 48:get-members-old
send "1057 48 5 0 1\n"
simple_expect "=1057 1 { 5 }"
send "1058 48 5 0 2\n"
simple_expect "=1058 1 { 5 }"
send "1059 48 5 0 10\n"
simple_expect "=1059 1 { 5 }"
send "1060 49 5\n"
simple_expect "=1060 [holl "X.unknown.@localhost"] 1111111111111111 00000000 $any_time 0 482 4 0 0 0 0 0 0 1 0 0 1"
# get-conf-stat-old
send "1061 50 1\n"
simple_expect "=1061 [holl "Presentation .av nya. mten"] 0000 $any_time $any_time 0 0 0 0 0 0 77 0 1 0"
# Log in
send "1051 62 5 [holl "gazonk"] 0\n"
simple_expect "=1051"
send "1062 62 5 [holl "gazonk"] 0\n"
simple_expect "=1062"
send "1052 9 5 5\n"
simple_expect "=1052 $any_time 5 255 0 0 \\*"
send "1063 9 5 5\n"
simple_expect "=1063 $any_time 5 255 0 0 \\*"
send "1053 27 5 0 { }\n"
simple_expect "=1053"
send "1064 27 5 0 { }\n"
simple_expect "=1064"
send "1054 9 5 5\n"
simple_expect "=1054 $any_time 5 255 0 0 \\*"
send "1065 9 5 5\n"
simple_expect "=1065 $any_time 5 255 0 0 \\*"
send "1055 6 6 1\n"
simple_expect "=1055 [holl "DejaGnu test suite.unknown.@localhost"] 0000010000000000 00000000 $any_time 0 0 1 0 0 0 0 0 0 1 0 0 1"
send "1056 6 6 0\n"
simple_expect "=1056 0H 0000010000000000 00000000 $any_time 0 0 1 0 0 0 0 0 0 1 0 0 1"
send "1066 6 6 1\n"
simple_expect "=1066 [holl "DejaGnu test suite.unknown.@localhost"] 0000010000000000 00000000 $any_time 0 0 1 0 0 0 0 0 0 1 0 0 1"
send "1067 6 6 0\n"
simple_expect "=1067 0H 0000010000000000 00000000 $any_time 0 0 1 0 0 0 0 0 0 1 0 0 1"
talk_to client 0
send "1057 42 255\n"
simple_expect "=1057" "42=enable succeeded"
send "1058 44 0\n"
simple_expect "=1058" "44=shutdown-kom succeeded"
send "1068 42 255\n"
simple_expect "=1068" "42=enable succeeded"
send "1069 44 0\n"
simple_expect "=1069" "44=shutdown-kom succeeded"
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