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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
01eca1d0
Commit
01eca1d0
authored
22 years ago
by
Per Cederqvist
Browse files
Options
Downloads
Patches
Plain Diff
Test case completed.
parent
dbbc7b1b
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/35.exp
+81
-8
81 additions, 8 deletions
src/server/testsuite/lyskomd.0/35.exp
with
81 additions
and
8 deletions
src/server/testsuite/lyskomd.0/35.exp
+
81
−
8
View file @
01eca1d0
...
@@ -473,18 +473,91 @@ simple_expect "=1081"
...
@@ -473,18 +473,91 @@ simple_expect "=1081"
send "1082 29 $tno\n"
send "1082 29 $tno\n"
simple_expect "=1082"
simple_expect "=1082"
# FIXME (bug 59): Test for async-sub-recipient when we are not allowed
# Test for async-sub-recipient when we are not allowed to see the recipient.
# to see the recipient.
talk_to client 0
# Create conference 7, a secret conference.
send "1083 88 [holl "secret conf"] 10100000 0 { }\n"
simple_expect "=1083 7"
# Text 22: linked via a comm-to.
set tno 22
send "1084 86 [holl "text $tno"] 3 { 0 3 2 1 0 7 } 0 { }\n"
simple_expect "=1084 $tno"
talk_to client 1
simple_expect ":16 0 $tno $any_time 5 0 7 0 3 { 0 3 6 20 2 1 }"
simple_expect ":18 15 $tno $any_time 5 0 7 0 3 { 0 3 6 20 2 1 } 0 \\*"
# Add conference 4 as recipient of text $tno.
talk_to client 0
send "1085 30 $tno 4 0\n"
simple_expect "=1085"
talk_to client 1
simple_expect ":3 16 $tno 4 0"
# Remove conference 4 as recipient of text $tno.
talk_to client 0
send "1086 31 $tno 4\n"
simple_expect "=1086"
talk_to client 1
simple_expect ":3 17 $tno 4 0"
# Remove conference 7 as recipient of text $tno.
talk_to client 0
send "1087 31 $tno 7\n"
simple_expect "=1087"
# Add conference 7 as recipient of text $tno.
send "1088 30 $tno 7 0\n"
simple_expect "=1088"
# Delete text $tno.
send "1089 29 $tno\n"
simple_expect "=1089"
talk_to client 1
simple_expect ":18 14 $tno $any_time 5 0 7 0 3 { 0 3 6 20 2 1 } 0 \\*"
# Test for async-sub-recipient when we subtract the reason we want to
# see it.
# Text 23: linked via a comm-to, sent to a conference we are a member of.
set tno 23
talk_to client 0
send "1090 86 [holl "text $tno"] 2 { 0 1 2 1 } 0 { }\n"
simple_expect "=1090 $tno"
talk_to client 1
simple_expect ":16 0 $tno $any_time 5 0 7 0 3 { 0 1 6 2 2 1 }"
simple_expect ":18 15 $tno $any_time 5 0 7 0 3 { 0 1 6 2 2 1 } 0 \\*"
# Remove conference 1 as recipient of text $tno.
talk_to client 0
send "1091 31 $tno 1\n"
simple_expect "=1091"
talk_to client 1
simple_expect ":3 17 $tno 1 0"
# Delete text $tno.
talk_to client 0
send "1092 29 $tno\n"
simple_expect "=1092"
# FIXME (bug 59): Test for async-sub-recipient when we subtract the
# Text 24: sent to a conference we are a member of.
# reason we want to see it.
set tno 24
talk_to client 0
send "1093 86 [holl "text $tno"] 1 { 0 1 } 0 { }\n"
simple_expect "=1093 $tno"
talk_to client 1
simple_expect ":16 0 $tno $any_time 5 0 7 0 2 { 0 1 6 3 }"
simple_expect ":18 15 $tno $any_time 5 0 7 0 2 { 0 1 6 3 } 0 \\*"
# Remove conference 1 as recipient of text $tno.
talk_to client 0
send "1094 31 $tno 1\n"
simple_expect "=1094"
talk_to client 1
simple_expect ":3 17 $tno 1 0"
# Delete text $tno.
talk_to client 0
send "1095 29 $tno\n"
simple_expect "=1095"
# Shut everything down.
# Shut everything down.
talk_to client 0
talk_to client 0
send "10
83
42 255\n"
send "10
96
42 255\n"
simple_expect "=10
83
"
simple_expect "=10
96
"
send "10
84
44 0\n"
send "10
97
44 0\n"
simple_expect "=10
84
"
simple_expect "=10
97
"
client_death 0
client_death 0
client_death 1
client_death 1
lyskomd_death
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