Commit 2d6126df authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Added even more tests for get-created-texts.

parent fea9315d
......@@ -788,14 +788,56 @@ simple_expect "=1201 4 2 { 12 13 }"
send "1202 47 6 1 1\n"
simple_expect "=1202 4 1 { 12 }"
# Delete all remaining texts that person 5 have created.
talk_to client 0
send "1203 29 2\n"
simple_expect "=1203"
send "1204 29 10\n"
simple_expect "=1204"
talk_to client 1
# Text 2 is sent to conference 2, so we get no async message about it.
simple_expect ":18 14 10 $any_time 5 0 8 0 2 { 0 1 6 9 } 0 \\*"
# Texts written by person 5:
# ano: . . . . . . . . (9)
# tno: . . . . . . . .
# Texts written by person 6:
# ano: . . . 4 5
# tno: . . . 12 13
send "1205 47 5 1 2\n"
simple_expect "=1205 9 0 \\*"
send "1206 47 5 7 2\n"
simple_expect "=1206 9 0 \\*"
send "1207 47 5 7 1\n"
simple_expect "=1207 9 0 \\*"
send "1208 47 5 8 1\n"
simple_expect "=1208 9 0 \\*"
send "1209 47 5 0 50\n"
simple_expect "=1209 9 0 \\*"
send "1210 47 5 1 50\n"
simple_expect "=1210 9 0 \\*"
send "1211 47 5 9 50\n"
simple_expect "%1211 16 9*"
# Shut down the server.
talk_to client 0
send "1203 42 255\n"
simple_expect "=1203" "42=enable succeeded"
send "1204 44 0\n"
simple_expect "=1204" "44=shutdown-kom succeeded"
send "1212 42 255\n"
simple_expect "=1212" "42=enable succeeded"
send "1213 44 0\n"
simple_expect "=1213" "44=shutdown-kom succeeded"
simple_expect ":2 13 6 2" "c0 sees auto-logout of c1 after 44=shutdown-kom"
simple_expect ":2 13 5 1" "c0 sees auto-logout of c0 after 44=shutdown-kom"
client_death 0
......
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