Commit 0693f908 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Test membership visibility in get-members-old and get-members.

parent 178e5498
2002-08-08 Per Cederqvist <ceder@ceder.dyndns.org>
Test membership visibility in get-members-old and get-members.
* src/server/testsuite/lyskomd.0/bug-37.exp: Test get-members-old
and get-members.
* src/server/testsuite/lyskomd.0/bug-37-2.exp: Ditto.
* src/server/testsuite/lyskomd.0/bug-37-3.exp: Ditto.
* src/server/testsuite/lyskomd.0/bug-37-4.exp: Ditto.
2002-08-07 Per Cederqvist <ceder@ceder.dyndns.org>
Documented membership visibility. (Bug 693).
* doc/Protocol-A.texi (Membership visibility): New chapter.
* src/server/testsuite/lyskomd.0/bug-37-3.exp: Updated for new
membership visibility rules.
* src/server/testsuite/lyskomd.0/bug-37-4.exp: Ditto.
2002-08-06 Per Cederqvist <ceder@ceder.dyndns.org>
......
......@@ -600,15 +600,34 @@ simple_expect "%1144 13 12"
# gazonk does <FIXME (bug 590)> on citrus and 10, 11 and 12. All should fail.
#
# gazonk examines the conferences
#
# Test get-members-old
send "1145 48 10 0 100\n"
simple_expect "%1145 9 10"
send "1146 48 11 0 100\n"
simple_expect "=1146 3 { 0 0 0 }"
send "1147 48 12 0 100\n"
simple_expect "=1147 3 { 0 0 0 }"
# Test get-members.
send "1148 101 10 0 100\n"
simple_expect "%1148 9 10"
send "1149 101 11 0 100\n"
simple_expect "=1149 3 { 0 0 $any_time 00100000 0 0 $any_time 00100000 0 0 $any_time 00100000 }"
send "1150 101 12 0 100\n"
simple_expect "=1150 3 { 0 0 $any_time 00100000 0 0 $any_time 00100000 0 0 $any_time 00100000 }"
# Shut down.
talk_to client 3
send "1145 0 5 [holl "gazonk"]\n"
simple_expect "=1145"
send "1146 42 255\n"
simple_expect "=1146"
send "1147 44 0\n"
simple_expect "=1147"
send "1151 0 5 [holl "gazonk"]\n"
simple_expect "=1151"
send "1152 42 255\n"
simple_expect "=1152"
send "1153 44 0\n"
simple_expect "=1153"
client_death 3
client_death 2
client_death 1
......
......@@ -632,15 +632,35 @@ simple_expect "=1144 $any_time 12 200 0 0 \\*"
# gazonk does <FIXME (bug 590)> on citrus and 10, 11 and 12. Should work.
#
# gazonk examines the conferences
#
# Test get-members-old
send "1145 48 10 0 100\n"
simple_expect "=1145 3 { 7 6 8 }"
send "1146 48 11 0 100\n"
simple_expect "=1146 3 { 7 6 8 }"
send "1147 48 12 0 100\n"
simple_expect "=1147 3 { 7 6 8 }"
# Test get-members.
send "1148 101 10 0 100\n"
simple_expect "=1148 3 { 7 9 $any_time 10000000 6 9 $any_time 10000000 8 9 $any_time 10000000 }"
send "1149 101 11 0 100\n"
simple_expect "=1149 3 { 7 9 $any_time 10000000 6 9 $any_time 10000000 8 9 $any_time 10000000 }"
send "1150 101 12 0 100\n"
simple_expect "=1150 3 { 7 9 $any_time 10000000 6 9 $any_time 10000000 8 9 $any_time 10000000 }"
# Shut down.
talk_to client 3
send "1145 0 5 [holl "gazonk"]\n"
simple_expect "=1145"
send "1146 42 255\n"
simple_expect "=1146"
send "1147 44 0\n"
simple_expect "=1147"
send "1151 0 5 [holl "gazonk"]\n"
simple_expect "=1151"
send "1152 42 255\n"
simple_expect "=1152"
send "1153 44 0\n"
simple_expect "=1153"
client_death 3
client_death 2
client_death 1
......
......@@ -632,15 +632,35 @@ good_bad_expect "=1142 $any_time 12 200 0 0 \\*" "%13 12" "Bug 703"
# gazonk does <FIXME (bug 590)> on citrus and 10, 11 and 12. 10 should fail.
#
# gazonk examines the conferences
#
# Test get-members-old
send "1143 48 10 0 100\n"
simple_expect "=1143 3 { 7 6 8 }"
send "1144 48 11 0 100\n"
simple_expect "=1144 3 { 7 6 8 }"
send "1145 48 12 0 100\n"
simple_expect "=1145 3 { 7 6 8 }"
# Test get-members.
send "1146 101 10 0 100\n"
simple_expect "=1146 3 { 7 9 $any_time 10100000 6 9 $any_time 10100000 8 9 $any_time 10100000 }"
send "1147 101 11 0 100\n"
simple_expect "=1147 3 { 7 9 $any_time 10100000 6 9 $any_time 10100000 8 9 $any_time 10100000 }"
send "1148 101 12 0 100\n"
simple_expect "=1148 3 { 7 9 $any_time 10100000 6 9 $any_time 10100000 8 9 $any_time 10100000 }"
# Shut down.
talk_to client 3
send "1143 0 5 [holl "gazonk"]\n"
simple_expect "=1143"
send "1144 42 255\n"
simple_expect "=1144"
send "1145 44 0\n"
simple_expect "=1145"
send "1149 0 5 [holl "gazonk"]\n"
simple_expect "=1149"
send "1150 42 255\n"
simple_expect "=1150"
send "1151 44 0\n"
simple_expect "=1151"
client_death 3
client_death 2
client_death 1
......
......@@ -621,14 +621,34 @@ simple_expect "=1144 $any_time 12 200 0 0 \\*"
# gazonk does <FIXME (bug 590)> on citrus and 10, 11 and 12. 10 should fail.
#
# gazonk examines the conferences
#
# Test get-members-old
send "1145 48 10 0 100\n"
simple_expect "%1145 9 10"
send "1146 48 11 0 100\n"
good_bad_expect "=1146 3 { 0 6 8 }" "=3 { 7 6 8 }" "Bug 705"
send "1147 48 12 0 100\n"
good_bad_expect "=1147 3 { 0 6 8 }" "=3 { 7 6 8 }" "Bug 705"
# Test get-members.
send "1148 101 10 0 100\n"
simple_expect "%1148 9 10"
send "1149 101 11 0 100\n"
good_bad_expect "=1149 3 { 0 0 $any_time 00100000 6 7 $any_time 10000000 8 7 $any_time 10000000 }" "=3 { 7 7 $any_time 00000000 6 7 $any_time 10000000 8 7 $any_time 10000000 }" "Bug 705"
send "1150 101 12 0 100\n"
good_bad_expect "=1150 3 { 0 0 $any_time 00100000 6 7 $any_time 10000000 8 7 $any_time 10000000 }" "=3 { 7 7 $any_time 00000000 6 7 $any_time 10000000 8 7 $any_time 10000000 }" "Bug 705"
# Shut down.
talk_to client 3
send "1145 0 5 [holl "gazonk"]\n"
simple_expect "=1145"
send "1146 42 255\n"
simple_expect "=1146"
send "1147 44 0\n"
simple_expect "=1147"
send "1151 0 5 [holl "gazonk"]\n"
simple_expect "=1151"
send "1152 42 255\n"
simple_expect "=1152"
send "1153 44 0\n"
simple_expect "=1153"
client_death 3
client_death 2
client_death 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment