Commit 846437cb authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Expect messages about lost texts and conferences in the log. Don't

expect any failures.
parent c0dc393d
......@@ -52,7 +52,10 @@ client_death 0
dbck_run
lyskomd_start
lyskomd_start "" "" "" "" "" {
"WARN: Texts 1 - 2 were lost\\."
"WARN: Confs 6 - 7 were lost\\."
} 0 1
# Create person, a conference and two texts.
client_start 0
......@@ -61,7 +64,6 @@ send "A3Hfoo\n"
simple_expect "LysKOM"
send "1005 89 [holl "person after"] [holl "pa"] 00000000 0 { }\n"
extracting_expect "=1005 (6|8)" pa 1
setup_xfail "*-*-*" "Bug 810"
if {$pa == 8} {
pass "Person number retained"
} else {
......@@ -72,16 +74,15 @@ simple_expect ":2 9 $pa 1"
simple_expect "=1006"
send "1007 88 [holl "conf after"] 00001000 0 { }\n"
extracting_expect "=1007 (7|9)" ca 1
setup_xfail "*-*-*" "Bug 810"
if {$ca == 9} {
pass "Conference number retained"
} else {
fail "Conference number retained"
}
send "1008 86 [holl "text 1 after"] 1 { 0 $ca } 0 { }\n"
good_bad_expect "=1008 3" "=1" "Bug 810"
good_bad_expect "=1008 3" "=1"
send "1009 86 [holl "text 2 after"] 1 { 0 $ca } 0 { }\n"
good_bad_expect "=1009 4" "=2" "Bug 810"
good_bad_expect "=1009 4" "=2"
system "kill -HUP $lyskomd_pid"
......
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