Commit 6e15e36c authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Added test cases for bug 1090.

parent 79d95e58
2003-08-17 Per Cederqvist <ceder@ceder.dyndns.org> 2003-08-17 Per Cederqvist <ceder@ceder.dyndns.org>
Added test cases for bug 1090.
* src/server/testsuite/lyskomd.0/44.exp: Added test cases for bug
1090.
* src/server/testsuite/config/unix.exp (good_bad_expect): Handle
the case where the bad result contains only a success indicator
and a refno (such as "=1032").
Allow recipients to be converted in a few more cases. Allow recipients to be converted in a few more cases.
* doc/Protocol-A.texi (add-recipient): The permission-denied error * doc/Protocol-A.texi (add-recipient): The permission-denied error
code is given if you are not supervisor of the author, recipient code is given if you are not supervisor of the author, recipient
......
...@@ -373,10 +373,31 @@ good_bad_expect "=1048" "%12 3" "Bug 1089" ...@@ -373,10 +373,31 @@ good_bad_expect "=1048" "%12 3" "Bug 1089"
send "1049 31 4 10\n" send "1049 31 4 10\n"
simple_expect "%1049 12 4" simple_expect "%1049 12 4"
# Make text 2 a footnote of text 1.
talk_to client 6
send "1050 37 2 1\n"
simple_expect "=1050"
# Attempt to make text 2 a comment of text 1. This should not be
# possible, since it already is a footnote.
send "1051 32 2 1\n"
good_bad_expect "%1051 29 2" "=" "Bug 1090"
# Make text 4 a comment of text 3.
talk_to client 8
send "1052 32 4 3\n"
simple_expect "=1052"
# And now try to make it a footnote as well.
send "1053 37 4 3\n"
good_bad_expect "%1053 28 4" "=" "Bug 1090"
# Shut down. # Shut down.
talk_to client 5 talk_to client 5
send "1050 44 0\n" send "1054 44 0\n"
simple_expect "=1050" simple_expect "=1054"
client_death 5 client_death 5
client_death 6 client_death 6
client_death 7 client_death 7
......
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