Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lyskom-server-ceder-1616-generations-topgit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
8c9c2a96
Commit
8c9c2a96
authored
26 years ago
by
Per Cederqvist
Browse files
Options
Downloads
Patches
Plain Diff
Many bugs fixed.
parent
a92c9158
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/server/testsuite/lyskomd.0/00.exp
+38
-38
38 additions, 38 deletions
src/server/testsuite/lyskomd.0/00.exp
with
38 additions
and
38 deletions
src/server/testsuite/lyskomd.0/00.exp
+
38
−
38
View file @
8c9c2a96
...
...
@@ -2,64 +2,64 @@ lyskomd_start
client_start 0
send "A3Hfoo\n"
unanchored
_expect "
^
LysKOM
$nl
" "connected"
simple
_expect "LysKOM" "connected"
# Log in
send "0 0 5 [holl gazonk]\n"
unanchored
_expect "
^
:2 9 5 1
$nl
" "0=login-old caused a login async msg"
unanchored
_expect "
^=0$nl
" "0=login-old succeeded"
send "
100
0 0 5 [holl gazonk]\n"
simple
_expect ":2 9 5 1" "0=login-old caused a login async msg"
simple
_expect "
=1000
" "0=login-old succeeded"
# Become a member of conference 1 using 14=add-member-old
send "
93
14 1 5 100 1\n"
unanchored
_expect "
^=93
" "14=add-member-old succeeded"
send "
1001
14 1 5 100 1\n"
simple
_expect "
=1001
" "14=add-member-old succeeded"
# Get the map using 34=get-map and 103=local-to-global
send "1
7
34 1 0 50\n"
unanchored
_expect "
^%17
1
7
0
$nl
" "empty map (old-style 0)"
send "1
002
34 1 0 50\n"
simple
_expect "
=1002
1 0
\\*
" "empty map (old-style 0)"
send "
0 130
1 0 50\n"
unanchored_expect "^%0 17 17$nl
" "empty map (new-style 0)"
send "
1003 103
1 0 50\n"
simple_expect "%1003 17 0
" "empty map (new-style 0)"
send "1
7
34 1 1 50\n"
unanchored_expect "^=17 1 0 \\*$nl
" "empty map (old-style 1)"
send "1
004
34 1 1 50\n"
simple_expect "%1004 16 1
" "empty map (old-style 1)"
send "
0 130
1 1 50\n"
unanchored_expect "^=0 0 0 0 \\*$nl
" "empty map (new-style 1)"
send "
1005 103
1 1 50\n"
simple_expect "%1005 16 1
" "empty map (new-style 1)"
send "1
7
34 1 2 50\n"
unanchored
_expect "
^
%1
7
16 2
$nl
" "empty map (old-style 2)"
send "1
006
34 1 2 50\n"
simple
_expect "%1
006
16 2" "empty map (old-style 2)"
send "
0 130
1 2 50\n"
unanchored
_expect "
^%0
16 2
$nl
" "empty map (new-style 2)"
send "
1007 103
1 2 50\n"
simple
_expect "
%1007
16 2" "empty map (new-style 2)"
# Create a text
send "
0
28 [holl text0001] 1 { 0 1 }\n"
# FIXME: there should be at least one async message, right?
unanchored_expect "^=0 1
"
send "
1008
28 [holl text0001] 1 { 0 1 }\n"
simple_expect ":16 0 1 $any_time 5 0 8 0 2 { 0 1 6 1 }" "async text 1 created"
simple_expect "=1008 1" "text 1 created
"
# Get the map using 34=get-map and 103=local-to-global
send "1
7
34 1 0 50\n"
unanchored_expect "^%17 17 0$nl
" "one map (old-style 0)"
send "1
009
34 1 0 50\n"
simple_expect "=1009 1 1 { 1 }
" "one map (old-style 0)"
send "0 1
3
0 1 0 50\n"
unanchored
_expect "
^
%1
7
17 0
$nl
" "one map (new-style 0)"
send "
101
0 10
3
1 0 50\n"
simple
_expect "%1
010
17 0" "one map (new-style 0)"
send "1
7
34 1 1 50\n"
unanchored
_expect "
^
=1
7
1 1 { 1 }
$nl
" "one map (old-style)"
send "1
011
34 1 1 50\n"
simple
_expect "=1
011
1 1 { 1 }" "one map (old-style)"
send "
0 130
1 1 50\n"
unanchored
_expect "
^=0
0 1 1 1 { 1 }
$nl
" "one map (new-style)"
send "
1012 103
1 1 50\n"
simple
_expect "
=1012
0 1 1 1 { 1 }" "one map (new-style)"
send "1
7
34 1 2 50\n"
unanchored_expect "^=17 1 0 \\*$nl
" "one map (old-style 2)"
send "1
013
34 1 2 50\n"
simple_expect "%1013 16 2
" "one map (old-style 2)"
send "
0 130
1 2 50\n"
unanchored_expect "^=0 0 0 0 \\*$nl
" "one map (new-style 2)"
send "
1014 103
1 2 50\n"
simple_expect "%1014 16 2
" "one map (new-style 2)"
send "1 42 255\n"
unanchored
_expect "
^
=1
$nl
" "42=enable succeeded"
send "
2
44 0\n"
unanchored
_expect "
^=2$nl
" "44=shutdown-kom succeeded"
unanchored
_expect "
^
:2 13 5 1
$nl
" "auto-logout after 44=shutdown-kom"
send "1
015
42 255\n"
simple
_expect "=1
015
" "42=enable succeeded"
send "
1016
44 0\n"
simple
_expect "
=1016
" "44=shutdown-kom succeeded"
simple
_expect ":2 13 5 1" "auto-logout after 44=shutdown-kom"
lyskomd_death
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment