Commit 032696bd authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Check all output from lyskomd.

parent c2e4ce8b
......@@ -1312,6 +1312,7 @@ simple_expect "=1355 2 { 0 $any_time 6 255 0 0 \\* 6 $any_time 00000000 1 $any_t
# test call 100 (add-member) tested more in 05.exp
send "1356 100 10 6 123 0 10000000\n"
lyskomd_expect "Person 6 added to conference 10 by 8."
simple_expect "=1356"
send "1357 99 6 0 100 0\n"
simple_expect "=1357 3 { 0 $any_time 10 123 0 0 \\* 8 $any_time 10000000 1 $any_time 6 255 0 0 \\* 6 $any_time 00000000 2 $any_time 7 100 6 0 \\* 6 $any_time 00000000 }"
......
......@@ -133,6 +133,7 @@ kom_logout
kom_login 7 "pw2" 0
send "1010 100 9 8 200 0 10000000\n"
lyskomd_expect "Person 8 added to conference 9 by 7."
simple_expect "=1010"
send "1011 101 9 0 10000\n"
......@@ -374,6 +375,7 @@ kom_logout
kom_login 8 "pw3" 0
send "2000 100 12 14 200 0 00000000\n"
lyskomd_expect "Person 14 added to conference 12 by 8."
simple_expect "=2000"
send "2001 99 14 0 10000 0\n"
......@@ -470,6 +472,7 @@ kom_login 7 "pw2" 0
# Use new-style call to check that invitation bit is set
send "3000 14 12 13 200 0\n"
lyskomd_expect "Person 13 added to conference 12 by 7."
simple_expect "=3000"
send "3001 99 13 0 10000 0\n"
......@@ -497,6 +500,7 @@ kom_logout
kom_login 8 "pw3" 0
send "3010 14 12 13 201 0\n"
lyskomd_expect "Person 13 added to conference 12 by 8."
simple_expect "=3010"
send "3011 99 13 0 10000 0\n"
......@@ -525,6 +529,7 @@ kom_login 5 "gazonk" 0
kom_enable 255
send "3020 14 12 13 202 0\n"
lyskomd_expect "Person 13 added to conference 12 by 5."
simple_expect "=3020"
send "3021 99 13 0 10000 0\n"
......
......@@ -473,6 +473,7 @@ kom_accept_async "13 { 0 5 6 7 8 9 11 12 13 14 15 16 17 }\n"
talk_to client 2
send "1050 100 9 8 201 0 00000000\n"
lyskomd_expect "Person 8 added to conference 9 by 5."
simple_expect "=1050"
# Check that async message is not sent to supervisor
......
......@@ -104,6 +104,7 @@ send "1011 100 8 7 200 200 00000000\n"
simple_expect "%1011 11 8"
talk_to client 0
send "1012 100 8 7 200 200 10000000\n"
lyskomd_expect "Person 7 added to conference 8 by 5."
simple_expect "=1012"
talk_to client 2
send "1013 100 8 7 200 200 00000000\n"
......
......@@ -37,27 +37,60 @@ simple_expect ":2 9 5 1"
simple_expect "=1000"
send "1001 28 [holl "none"] 0 { }\n"
talk_to lyskomd
simple_expect "Granted jubel 1 to person 5, pending public check."
simple_expect "Jubel stopped because no public recipient was found."
talk_to client 0
simple_expect "%1001 45 0"
send "1002 28 [holl "private"] 1 { 0 5 }\n"
talk_to lyskomd
simple_expect "Granted jubel 1 to person 5, pending public check."
simple_expect "Jubel stopped because no public recipient was found."
talk_to client 0
simple_expect "%1002 45 0"
send "1003 28 [holl "public"] 1 { 0 4 }\n"
talk_to lyskomd
simple_expect "Granted jubel 1 to person 5, pending public check."
talk_to client 0
simple_expect "=1003 1"
send "1004 28 [holl "none"] 0 { }\n"
talk_to lyskomd
simple_expect "Granted jubel 2 to person 5, pending public check."
simple_expect "Jubel stopped because no public recipient was found."
talk_to client 0
simple_expect "%1004 45 0"
send "1005 28 [holl "private"] 1 { 0 5 }\n"
talk_to lyskomd
simple_expect "Granted jubel 2 to person 5, pending public check."
simple_expect "Jubel stopped because no public recipient was found."
talk_to client 0
simple_expect "%1005 45 0"
send "1006 28 [holl "public"] 1 { 0 4 }\n"
talk_to lyskomd
simple_expect "Granted jubel 2 to person 5, pending public check."
talk_to client 0
simple_expect "=1006 2"
send "1007 28 [holl "none"] 0 { }\n"
simple_expect "=1007 3"
send "1008 28 [holl "none"] 0 { }\n"
talk_to lyskomd
simple_expect "Granted jubel 4 to person 5, pending public check."
simple_expect "Jubel stopped because no public recipient was found."
talk_to client 0
simple_expect "%1008 45 0"
send "1009 28 [holl "private"] 1 { 0 5 }\n"
talk_to lyskomd
simple_expect "Granted jubel 4 to person 5, pending public check."
simple_expect "Jubel stopped because no public recipient was found."
talk_to client 0
simple_expect "%1009 45 0"
send "1010 28 [holl "public"] 1 { 0 4 }\n"
talk_to lyskomd
simple_expect "Granted jubel 4 to person 5, pending public check."
talk_to client 0
simple_expect "=1010 4"
send "1011 28 [holl "private"] 1 { 0 5 }\n"
......
......@@ -64,6 +64,7 @@ talk_to client 0
send "1006 88 [holl "secret"] 10101000 0 { }\n"
simple_expect "=1006 8"
send "1007 100 8 7 100 100 10000000\n"
lyskomd_expect "Person 7 added to conference 8 by 5."
simple_expect "=1007"
send "1008 87 [holl "demo"] 1 { 0 8 } 0 { }\n"
simple_expect "=1008 1"
......
......@@ -55,8 +55,7 @@ kom_create_person "P8" "PW8" "00000000" "0 { }"
kom_create_conference "C9" "00000000" "0 { }"
kom_add_member 9 8 100 0 "01000000"
lyskomd_expect "Person 8 added to conference 9 by 5."
# Attempt to do set-info of non-existent text
......@@ -81,6 +80,7 @@ send "1003 72 1 1\n"
simple_expect "=1003"
send "1005 79 0 1 2 3 4 1\n"
lyskomd_expect "LIMIT: set_motd_of_lyskom.1.: New motd has 1 marks."
simple_expect "%1005 36 1"
kom_enable 0
......
......@@ -80,7 +80,7 @@ simple_expect "LysKOM"
# Do something that gets the default aux-item definition
kom_accept_async "0 { }"
kom_login 5 "gazonk" 0
kom_login 5 "gazonk" 0
send "1000 86 [holl "Text"] 1 { 0 5 } 1 { 10000 00000000 0 [holl "FUBAR"] }\n"
simple_expect "=1000 1"
......@@ -99,6 +99,10 @@ simple_expect "%1002 48 0"
# Try adding an aux-item that has an item with an invalid validation
send "1003 86 [holl "Text"] 1 { 0 5 } 1 { 1000 00000000 0 [holl "FUBAR"] }\n"
talk_to lyskomd
simple_expect "Unmatched \\\[ or \\\[\\^ in validate regexp of aux-item definition 1000 \\(invalid-regexp\\)."
simple_expect "Failed to cache regexp validator for \"invalid-regexp\". Rejecting all such items."
talk_to client 0
simple_expect "%1003 48 0"
# Create a valid text
......@@ -444,5 +448,5 @@ lyskomd_death {"Bug 689" 1 0 9}
# Try some broken config files
# lyskomd_fail_start "lyskomd.0/broken-aux-items.conf"
# lyskomd_fail_start {} "lyskomd.0/broken-aux-items.conf"
......@@ -81,6 +81,7 @@ simple_expect ":2 9 8 3"
# As admin, add member to the secret conference.
talk_to client 0
send "1008 100 6 7 200 1 00000000\n"
lyskomd_expect "Person 7 added to conference 6 by 5."
simple_expect "=1008"
talk_to client 1
......
......@@ -119,18 +119,24 @@ simple_expect "=1018"
# bar invites foo to secret, rd-prot and public.
send "1019 100 10 6 200 1 00100000\n"
lyskomd_expect "Person 6 added to conference 10 by 7."
simple_expect "=1019"
send "1020 100 11 6 200 2 00100000\n"
lyskomd_expect "Person 6 added to conference 11 by 7."
simple_expect "=1020"
send "1021 100 12 6 200 3 00100000\n"
lyskomd_expect "Person 6 added to conference 12 by 7."
simple_expect "=1021"
# bar invites citrus to secret, rd-prot and public.
send "1022 100 10 8 200 1 00100000\n"
lyskomd_expect "Person 8 added to conference 10 by 7."
simple_expect "=1022"
send "1023 100 11 8 200 2 00100000\n"
lyskomd_expect "Person 8 added to conference 11 by 7."
simple_expect "=1023"
send "1024 100 12 8 200 3 00100000\n"
lyskomd_expect "Person 8 added to conference 12 by 7."
simple_expect "=1024"
#
......
......@@ -111,10 +111,13 @@ simple_expect "=1015 12"
# gazonk invites bar to secret, rd-prot and public.
send "1016 100 10 7 200 1 00000000\n"
lyskomd_expect "Person 7 added to conference 10 by 9."
simple_expect "=1016"
send "1017 100 11 7 200 2 00000000\n"
lyskomd_expect "Person 7 added to conference 11 by 9."
simple_expect "=1017"
send "1018 100 12 7 200 3 00000000\n"
lyskomd_expect "Person 7 added to conference 12 by 9."
simple_expect "=1018"
# bar is secret, so gazonk should not be able to do the above.
# When bug 604 is fixed, this test should be rewritten so that
......@@ -124,18 +127,24 @@ fail "bar could add a secret person to a conference"
# gazonk invites foo to secret, rd-prot and public.
send "1019 100 10 6 200 1 00000000\n"
lyskomd_expect "Person 6 added to conference 10 by 9."
simple_expect "=1019"
send "1020 100 11 6 200 2 00000000\n"
lyskomd_expect "Person 6 added to conference 11 by 9."
simple_expect "=1020"
send "1021 100 12 6 200 3 00000000\n"
lyskomd_expect "Person 6 added to conference 12 by 9."
simple_expect "=1021"
# gazonk invites citrus to secret, rd-prot and public.
send "1022 100 10 8 200 1 00000000\n"
lyskomd_expect "Person 8 added to conference 10 by 9."
simple_expect "=1022"
send "1023 100 11 8 200 2 00000000\n"
lyskomd_expect "Person 8 added to conference 11 by 9."
simple_expect "=1023"
send "1024 100 12 8 200 3 00000000\n"
lyskomd_expect "Person 8 added to conference 12 by 9."
simple_expect "=1024"
#
......
......@@ -125,10 +125,13 @@ simple_expect "=1015 12"
# gazonk invites bar to secret, rd-prot and public.
send "1016 100 10 7 200 1 00100000\n"
lyskomd_expect "Person 7 added to conference 10 by 9."
simple_expect "=1016"
send "1017 100 11 7 200 2 00100000\n"
lyskomd_expect "Person 7 added to conference 11 by 9."
simple_expect "=1017"
send "1018 100 12 7 200 3 00100000\n"
lyskomd_expect "Person 7 added to conference 12 by 9."
simple_expect "=1018"
# bar is secret, so gazonk should not be able to do the above.
# When bug 604 is fixed, this test should be rewritten so that
......@@ -138,18 +141,24 @@ fail "bar could add a secret person to a conference"
# gazonk invites foo to secret, rd-prot and public.
send "1019 100 10 6 200 1 00100000\n"
lyskomd_expect "Person 6 added to conference 10 by 9."
simple_expect "=1019"
send "1020 100 11 6 200 2 00100000\n"
lyskomd_expect "Person 6 added to conference 11 by 9."
simple_expect "=1020"
send "1021 100 12 6 200 3 00100000\n"
lyskomd_expect "Person 6 added to conference 12 by 9."
simple_expect "=1021"
# gazonk invites citrus to secret, rd-prot and public.
send "1022 100 10 8 200 1 00100000\n"
lyskomd_expect "Person 8 added to conference 10 by 9."
simple_expect "=1022"
send "1023 100 11 8 200 2 00100000\n"
lyskomd_expect "Person 8 added to conference 11 by 9."
simple_expect "=1023"
send "1024 100 12 8 200 3 00100000\n"
lyskomd_expect "Person 8 added to conference 12 by 9."
simple_expect "=1024"
#
......
......@@ -130,18 +130,24 @@ simple_expect "=1018"
# bar invites foo to secret, rd-prot and public.
send "1019 100 10 6 200 1 00000000\n"
lyskomd_expect "Person 6 added to conference 10 by 7."
simple_expect "=1019"
send "1020 100 11 6 200 2 00000000\n"
lyskomd_expect "Person 6 added to conference 11 by 7."
simple_expect "=1020"
send "1021 100 12 6 200 3 00000000\n"
lyskomd_expect "Person 6 added to conference 12 by 7."
simple_expect "=1021"
# bar invites citrus to secret, rd-prot and public.
send "1022 100 10 8 200 1 00000000\n"
lyskomd_expect "Person 8 added to conference 10 by 7."
simple_expect "=1022"
send "1023 100 11 8 200 2 00000000\n"
lyskomd_expect "Person 8 added to conference 11 by 7."
simple_expect "=1023"
send "1024 100 12 8 200 3 00000000\n"
lyskomd_expect "Person 8 added to conference 12 by 7."
simple_expect "=1024"
#
......
......@@ -114,18 +114,24 @@ simple_expect "=1019"
# bar invites foo to secret, rd-prot and public.
send "1020 100 10 6 200 1 00000000\n"
lyskomd_expect "Person 6 added to conference 10 by 7."
simple_expect "=1020"
send "1021 100 11 6 200 2 00000000\n"
lyskomd_expect "Person 6 added to conference 11 by 7."
simple_expect "=1021"
send "1022 100 12 6 200 3 00000000\n"
lyskomd_expect "Person 6 added to conference 12 by 7."
simple_expect "=1022"
# bar invites citrus to secret, rd-prot and public.
send "1023 100 10 8 200 1 00000000\n"
lyskomd_expect "Person 8 added to conference 10 by 7."
simple_expect "=1023"
send "1024 100 11 8 200 2 00000000\n"
lyskomd_expect "Person 8 added to conference 11 by 7."
simple_expect "=1024"
send "1025 100 12 8 200 3 00000000\n"
lyskomd_expect "Person 8 added to conference 12 by 7."
simple_expect "=1025"
#
......@@ -165,18 +171,24 @@ simple_expect "=1034"
# bar re-invites citrus to secret, rd-prot and public.
talk_to client 1
send "1035 100 10 8 200 1 00000000\n"
lyskomd_expect "Person 8 added to conference 10 by 7."
simple_expect "=1035"
send "1036 100 11 8 200 2 00000000\n"
lyskomd_expect "Person 8 added to conference 11 by 7."
simple_expect "=1036"
send "1037 100 12 8 200 3 00000000\n"
lyskomd_expect "Person 8 added to conference 12 by 7."
simple_expect "=1037"
# bar invites gazonk to secret, rd-prot and public.
send "1038 100 10 9 200 1 00000000\n"
lyskomd_expect "Person 9 added to conference 10 by 7."
simple_expect "=1038"
send "1039 100 11 9 200 2 00000000\n"
lyskomd_expect "Person 9 added to conference 11 by 7."
simple_expect "=1039"
send "1040 100 12 9 200 3 00000000\n"
lyskomd_expect "Person 9 added to conference 12 by 7."
simple_expect "=1040"
#
......
......@@ -69,6 +69,28 @@ Garb interval:
read_versions
lyskomd_fail_start "" "" $conf_file
lyskomd_fail_start "" "" "" "nosuchfile"
lyskomd_fail_start {
"line too long \\(max 1000 chars allowed\\): "
"missing colon: Lots of spaces before key"
"missing colon: Key too long XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
"missing colon: XXXXXXXXXXXXXX"
"line too long \\(max 1000 chars allowed\\): Colon right at max XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
"missing colon: Foo"
"line too long \\(max 1000 chars allowed\\): Key and colon ok"
"missing colon: XXXXXXXXXXXXXX"
"missing colon: Line no colon val"
"line matches 0 times: Max"
"variable already assigned 1 times: Idle timeout"
"assigner for Send async failed"
"assigner for Max texts failed"
"assigner for Presentation of conferences failed"
"assigner for Message of the day failed"
"assigner for Garb interval failed"
"Parameter Max conferences only assigned 0 times \\(1 times needed\\)"
"Please fix the above errors in config/lyskomd-config and restart lyskomd"
} "" "" $conf_file
lyskomd_fail_start {
"cannot open config file nosuchfile"
} "" "" "" "nosuchfile"
......@@ -90,7 +90,9 @@ kom_create_conference "C14" "10100000" "0 { }"
kom_login 7 "PW7" 0
kom_create_conference "C15" "00000000" "0 { }"
kom_add_member 15 5 100 0 "00000000"
lyskomd_expect "Person 5 added to conference 15 by 7."
kom_add_member 15 6 100 0 "00000000"
lyskomd_expect "Person 6 added to conference 15 by 7."
kom_add_member 15 7 100 0 "00000000"
send "1000 11 15\n"
......@@ -364,6 +366,7 @@ simple_expect "=1702"
# Do it
send "1703 16 10 2\n"
lyskomd_expect "LIMIT: do_set_presentation\\(10, ptr, 2\\): New presentation has 1 marks."
simple_expect "%1703 36 2"
# Succeed
......@@ -410,6 +413,7 @@ simple_expect "=1802"
# Do it
send "1803 17 10 4\n"
lyskomd_expect "LIMIT: do_set_motd\\(10, ptr, 4\\): New motd has 1 marks."
simple_expect "%1803 36 4"
# Succeed
......@@ -442,6 +446,7 @@ simple_expect "=1808"
kom_create_conference "C19" "00000000" "0 { }"
send "9000 88 [holl "C20"] 00000000 0 { }\n"
lyskomd_expect "ERROR: Couldn't create conference. Too many conferences."
simple_expect "%9000 19 20"
......
......@@ -138,7 +138,7 @@ simple_expect "%% LysKOM protocol error."
# Cause dump_statistics to fail because of bad file name
dump_statistics
lyskomd_expect "connections.c: dump_statistics\\(\\): can't open file /tmp/swedish/chef/bork/bork/bork/nosuchfile"
# Attempt to create too many connections
......
......@@ -430,6 +430,15 @@ def setup():
print "send \"%d 100 %d %d 100 6 00000000\\n\"" % (
ref.next(), conf, reader)
print "simple_expect \"=%d\"" % ref.curr
print "talk_to lyskomd"
for conf in [10, 11, 12]:
print "simple_expect \"Person 8 added to conference %d by 7.\"" % conf
for conf in [13, 14, 15]:
for reader in [7, 8]:
print ("simple_expect " +
"\"Person %d added to conference %d by 9.\"") % (
reader, conf)
talk_to(7)
print "send \"%d 15 7 7\\n\"" % ref.next()
print "simple_expect \"=%d\"" % ref.curr
......
......@@ -435,6 +435,15 @@ def setup():
print "send \"%d 100 %d %d 100 6 %s\\n\"" % (
ref.next(), conf, reader, mtype)
print "simple_expect \"=%d\"" % ref.curr
print "talk_to lyskomd"
for conf in [10, 11, 12]:
print "simple_expect \"Person 8 added to conference %d by 7.\"" % conf
for conf in [13, 14, 15]:
for reader in [7, 8]:
print ("simple_expect " +
"\"Person %d added to conference %d by 9.\"") % (
reader, conf)
talk_to(7)
print "send \"%d 15 7 7\\n\"" % ref.next()
print "simple_expect \"=%d\"" % ref.curr
......
......@@ -75,7 +75,7 @@ kom_create_person "P19" "PW19" "00000000" "0 { }"
kom_login 6 "PW6" 0
kom_add_member 10 17 200 9999 "00000000"
lyskomd_expect "Person 17 added to conference 10 by 6."
kom_login 9 "PW9" 0
send "1000 106 9 1\n"
......@@ -110,7 +110,9 @@ simple_expect "=1009"
kom_login 6 "PW6" 0
kom_add_member 10 18 200 9999 "00000000"
lyskomd_expect "Person 18 added to conference 10 by 6."
kom_add_member 10 19 200 9999 "00000000"
lyskomd_expect "Person 19 added to conference 10 by 6."
# Get membership from a person with unread-is-secret set
......@@ -188,9 +190,11 @@ simple_expect "=1500"
kom_login 6 "PW6" 0
send "1600 100 15 9 100 9999 00000000\n"
lyskomd_expect "Person 9 added to conference 15 by 6."
simple_expect "=1600"
send "1601 100 11 9 100 9999 00100000\n"
lyskomd_expect "Person 9 added to conference 11 by 6."
simple_expect "=1601"
# Remove with read access to conf and membership
......
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