Skip to content
GitLab
Menu
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
1bd90cfc
Commit
1bd90cfc
authored
Aug 29, 1998
by
Per Cederqvist
Browse files
Added tests for requests 89-91.
parent
b8441844
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/testsuite/lyskomd.0/01.exp
View file @
1bd90cfc
...
...
@@ -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 "110
4
55 1\n"
simple_expect "=110
4
"
send "11
1
0 55 1\n"
simple_expect "=11
1
0"
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 "11
05
80 0 { }\n"
simple_expect "=11
05
"
send "11
11
80 0 { }\n"
simple_expect "=11
11
"
# Log in
send "11
06
62 5 [holl "gazonk"] 0\n"
simple_expect "=11
06
"
send "11
12
62 5 [holl "gazonk"] 0\n"
simple_expect "=11
12
"
send "11
07
9 5 5\n"
simple_expect "=11
07
$any_time 5 255 0 0 \\*"
send "11
13
9 5 5\n"
simple_expect "=11
13
$any_time 5 255 0 0 \\*"
send "11
08
27 5 0 { }\n"
simple_expect "=11
08
"
send "11
14
27 5 0 { }\n"
simple_expect "=11
14
"
send "11
09
9 5 5\n"
simple_expect "=11
09
$any_time 5 255 0 0 \\*"
send "11
15
9 5 5\n"
simple_expect "=11
15
$any_time 5 255 0 0 \\*"
send "111
0
6 6 1\n"
simple_expect "=111
0
[holl "DejaGnu test suite.unknown.@localhost"] 0000010000000000 00000000 $any_time 0 0 1 0 0 0 0 0 0 1 0 0 1"
send "111
1
6 6 0\n"
simple_expect "=111
1
0H 0000010000000000 00000000 $any_time 0 0 1 0 0 0 0 0 0 1 0 0 1"
send "111
6
6 6 1\n"
simple_expect "=111
6
[holl "DejaGnu test suite.unknown.@localhost"] 0000010000000000 00000000 $any_time 0 0 1 0 0 0 0 0 0 1 0 0 1"
send "111
7
6 6 0\n"
simple_expect "=111
7
0H 0000010000000000 00000000 $any_time 0 0 1 0 0 0 0 0 0 1 0 0 1"
talk_to client 0
send "111
2
42 255\n"
simple_expect "=111
2
" "42=enable succeeded"
send "111
3
44 0\n"
simple_expect "=111
3
" "44=shutdown-kom succeeded"
send "111
8
42 255\n"
simple_expect "=111
8
" "42=enable succeeded"
send "111
9
44 0\n"
simple_expect "=111
9
" "44=shutdown-kom succeeded"
client_death 0
lyskomd_death
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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