Commit c3374247 authored by Per Cederqvist's avatar Per Cederqvist

Added one more test case for adding an aux-item to the wrong type of of object.

parent 69615aad
......@@ -121,19 +121,23 @@ simple_expect "%1019 49 0"
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"
# Add a modify-only "conference" aux-item to a person (fails).
send "1021 93 $attempt3 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"
# Add a modify-only "conference" aux-item to a text (fails).
send "1022 92 1 0 { } 1 { 4 00000000 0 [holl "foo"] }\n"
simple_expect "%1022 49 0"
# Add a modify-only "letterbox" aux-item to a text (fails).
send "1023 92 1 0 { } 1 { 6 00000000 0 [holl "foo"] }\n"
simple_expect "%1023 49 0"
# Shut down.
talk_to client 1
send "1023 42 255\n"
simple_expect "=1023"
send "1024 44 0\n"
send "1024 42 255\n"
simple_expect "=1024"
send "1025 44 0\n"
simple_expect "=1025"
client_death 1
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