Commit 1bd90cfc authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Added tests for requests 89-91.

parent b8441844
......@@ -331,10 +331,26 @@ send "1102 88 [holl "new conf"] 0000 0 { }\n"
simple_expect "%1102 6 0"
send "1103 88 [holl "new conf"] 00000000 0 { }\n"
simple_expect "%1103 6 0"
# 89:create-person
send "1104 89 [holl "new 89 person"] [holl "89pwd"] 0 { }\n"
simple_expect "=1104 7"
send "1105 83 1 1 0\n"
simple_expect "=1105 1 { 1 7 0 $any_num 01000000 [holl ""] }"
send "1106 1\n"
simple_expect "=1106"
send "1107 83 1 1 0\n"
simple_expect "=1107 1 { 1 0 0 $any_num 11000000 [holl ""] }"
# 90:get-text-stat
send "1108 90 1\n"
simple_expect "%1108 14 1"
# 91:get-conf-stat
send "1109 91 1\n"
simple_expect "=1109 [holl "Presentation .av nya. mten"] 00001000 $any_time $any_time 0 0 0 0 0 0 77 0 1 0 0 0 \\*"
# finally, check that 55=disconnect actually works without logging in.
send "1104 55 1\n"
simple_expect "=1104"
send "1110 55 1\n"
simple_expect "=1110"
client_death 0
client_start 0
......@@ -343,32 +359,32 @@ send "A\n"
send "[holl "DejaGnu test suite"]\n"
simple_expect "LysKOM" "connected"
# Turn of async messages
send "1105 80 0 { }\n"
simple_expect "=1105"
send "1111 80 0 { }\n"
simple_expect "=1111"
# Log in
send "1106 62 5 [holl "gazonk"] 0\n"
simple_expect "=1106"
send "1112 62 5 [holl "gazonk"] 0\n"
simple_expect "=1112"
send "1107 9 5 5\n"
simple_expect "=1107 $any_time 5 255 0 0 \\*"
send "1113 9 5 5\n"
simple_expect "=1113 $any_time 5 255 0 0 \\*"
send "1108 27 5 0 { }\n"
simple_expect "=1108"
send "1114 27 5 0 { }\n"
simple_expect "=1114"
send "1109 9 5 5\n"
simple_expect "=1109 $any_time 5 255 0 0 \\*"
send "1115 9 5 5\n"
simple_expect "=1115 $any_time 5 255 0 0 \\*"
send "1110 6 6 1\n"
simple_expect "=1110 [holl "DejaGnu test suite.unknown.@localhost"] 0000010000000000 00000000 $any_time 0 0 1 0 0 0 0 0 0 1 0 0 1"
send "1111 6 6 0\n"
simple_expect "=1111 0H 0000010000000000 00000000 $any_time 0 0 1 0 0 0 0 0 0 1 0 0 1"
send "1116 6 6 1\n"
simple_expect "=1116 [holl "DejaGnu test suite.unknown.@localhost"] 0000010000000000 00000000 $any_time 0 0 1 0 0 0 0 0 0 1 0 0 1"
send "1117 6 6 0\n"
simple_expect "=1117 0H 0000010000000000 00000000 $any_time 0 0 1 0 0 0 0 0 0 1 0 0 1"
talk_to client 0
send "1112 42 255\n"
simple_expect "=1112" "42=enable succeeded"
send "1113 44 0\n"
simple_expect "=1113" "44=shutdown-kom succeeded"
send "1118 42 255\n"
simple_expect "=1118" "42=enable succeeded"
send "1119 44 0\n"
simple_expect "=1119" "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