From c33742475e86aedf768fcf94531498bc962be666 Mon Sep 17 00:00:00 2001 From: Per Cederqvist Date: Sun, 6 Aug 2006 21:10:11 +0000 Subject: [PATCH] Added one more test case for adding an aux-item to the wrong type of of object. --- src/server/testsuite/lyskomd.0/55.exp | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/server/testsuite/lyskomd.0/55.exp b/src/server/testsuite/lyskomd.0/55.exp index e42b36c8..000af8db 100644 --- a/src/server/testsuite/lyskomd.0/55.exp +++ b/src/server/testsuite/lyskomd.0/55.exp @@ -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 -- GitLab