Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
2d6126df
Commit
2d6126df
authored
Aug 09, 1998
by
Per Cederqvist
Browse files
Added even more tests for get-created-texts.
parent
fea9315d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/testsuite/lyskomd.0/00.exp
View file @
2d6126df
...
...
@@ -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 "12
03
42 255\n"
simple_expect "=12
03
" "42=enable succeeded"
send "12
04
44 0\n"
simple_expect "=12
04
" "44=shutdown-kom succeeded"
send "12
12
42 255\n"
simple_expect "=12
12
" "42=enable succeeded"
send "12
13
44 0\n"
simple_expect "=12
13
" "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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment