Commit 26e29c94 authored by Per Cederqvist's avatar Per Cederqvist

Added a few FAQ aux-item tests.

parent 009336b2
......@@ -95,8 +95,26 @@ simple_expect "=1016"
send "1017 42 255\n"
simple_expect "=1017"
send "1018 44 0\n"
simple_expect "=1018"
# Attempt to add a broken FAQ aux-item with trailing garbage.
send "1018 93 4 0 { } 1 { 14 00000000 0 [holl "3garbage"] }\n"
simple_expect "%1018 48 0"
# Create a proper FAQ item
send "1019 93 4 0 { } 1 { 14 00000000 0 [holl "3"] }\n"
simple_expect "=1019"
# Create another proper FAQ item
send "1020 93 2 0 { } 1 { 14 00000000 0 [holl "1"] }\n"
simple_expect "=1020"
send "1021 91 4\n"
simple_expect "=1021 [holl "Nyheter om LysKOM"] 00001000 $any_time $any_time 0 0 0 0 0 0 77 77 0 1 0 0 1 { 1 14 5 $any_time 00000000 1 [holl "3"] }"
send "1022 90 3\n"
simple_expect "=1022 $any_time 6 0 6 0 2 { 0 1 6 3 } 1 { 1 28 5 $any_time 00001000 0 [holl "4"] }"
send "1023 44 0\n"
simple_expect "=1023"
client_death 0
......
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