Commit 69615aad authored by Per Cederqvist's avatar Per Cederqvist

More aux-item-related test cases.

* src/server/testsuite/lyskomd.0/55.exp: Added test cases for
adding an aux-item to the wrong type of of object.
parent 804f9f3d
2006-08-01 Per Cederqvist <ceder@lysator.liu.se> 2006-08-01 Per Cederqvist <ceder@lysator.liu.se>
More aux-item-related test cases.
* src/server/testsuite/lyskomd.0/55.exp: Added test cases for
adding an aux-item to the wrong type of of object.
Added more test cases for aux-items with restrictions on when they Added more test cases for aux-items with restrictions on when they
can be set. can be set.
* src/server/testsuite/lyskomd.0/55.exp: New file. Test creation * src/server/testsuite/lyskomd.0/55.exp: New file. Test creation
......
...@@ -109,11 +109,31 @@ simple_expect "%1016 49 0" ...@@ -109,11 +109,31 @@ simple_expect "%1016 49 0"
send "1017 92 1 0 { } 1 { 8 00000000 0 [holl "foo"] }\n" send "1017 92 1 0 { } 1 { 8 00000000 0 [holl "foo"] }\n"
simple_expect "=1017" simple_expect "=1017"
# Add a modify-only "text" aux-item to a conference (fails).
send "1018 93 6 0 { } 1 { 2 00000000 0 [holl "foo"] }\n"
simple_expect "%1018 49 0"
# Add a modify-only "letterbox" aux-item to a conference (fails).
send "1019 93 6 0 { } 1 { 6 00000000 0 [holl "foo"] }\n"
simple_expect "%1019 49 0"
# Add a modify-only "text" aux-item to a person (fails).
send "1020 93 $attempt3 0 { } 1 { 2 00000000 0 [holl "foo"] }\n"
simple_expect "%1020 49 0"
# Add a modify-only "conference" aux-item to a text (fails).
send "1021 92 1 0 { } 1 { 4 00000000 0 [holl "foo"] }\n"
simple_expect "%1021 49 0"
# Add a modify-only "letterbox" aux-item to a text (fails).
send "1022 92 1 0 { } 1 { 6 00000000 0 [holl "foo"] }\n"
simple_expect "%1022 49 0"
# Shut down. # Shut down.
talk_to client 1 talk_to client 1
send "1018 42 255\n" send "1023 42 255\n"
simple_expect "=1018" simple_expect "=1023"
send "1019 44 0\n" send "1024 44 0\n"
simple_expect "=1019" simple_expect "=1024"
client_death 1 client_death 1
lyskomd_death lyskomd_death
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