diff --git a/src/server/testsuite/lyskomd.0/00.exp b/src/server/testsuite/lyskomd.0/00.exp index 2d2b04cc10ba2de210e3eeef4fe20c789ded87ff..8e104e65d3390e774bdf3fc10cf3a9ee30ff1c68 100644 --- a/src/server/testsuite/lyskomd.0/00.exp +++ b/src/server/testsuite/lyskomd.0/00.exp @@ -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