Commit adb42cae authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Added async messages sent by the garb when it deletes text 2, 4 and 6.

This is untested and may break.
parent 1b488b8b
...@@ -414,9 +414,32 @@ talk_to client 0 ...@@ -414,9 +414,32 @@ talk_to client 0
#### simple_expect "=1044" #### simple_expect "=1044"
untested "FIXME: The garb-testing code is disabled since it causes a core dump" untested "FIXME: The garb-testing code is disabled since it causes a core dump"
# FIXME: async for deletion of text 2 # Async for deletion of text 2
# FIXME: async for deletion of text 4 # FIXME: this is untested and may contain errors.
# FIXME: async for deletion of text 6 talk_to client 0
extracting_expect ":18 14 2 ($any_time) 5 0 6 0 6 { 0 7 6 2 0 8 6 2 15 6 6 2 } 2 { 1 20000 5 $time_2 00100000 1 [holl "priv"] 2 20001 5 $time_2 00000000 1 [holl "pub"] }" backdated_time_2 1
talk_to client 1
simple_expect ":18 14 2 $backdated_time_2 5 0 6 0 6 { 0 7 6 2 0 8 6 2 15 6 6 2 } 2 { 1 20000 5 $time_2 00100000 1 [holl "priv"] 2 20001 5 $time_2 00000000 1 [holl "pub"] }"
talk_to client 2
simple_expect ":18 14 2 $backdated_time_2 5 0 6 0 4 { 0 7 6 2 15 6 6 2 } 1 { 2 20001 5 $time_2 00000000 1 [holl "pub"] }"
# Async for deletion of text 4
# FIXME: this is untested and may contain errors.
talk_to client 0
extracting_expect ":18 14 4 ($any_time) 5 0 6 0 6 { 0 7 6 4 0 8 6 4 15 6 6 4 } 2 { 1 20000 5 $time_4 00100000 1 [holl "priv"] 2 20001 5 $time_4 00000000 1 [holl "pub"] }" backdated_time_4 1
talk_to client 1
simple_expect ":18 14 4 $backdated_time_4 5 0 6 0 6 { 0 7 6 4 0 8 6 4 15 6 6 4 } 2 { 1 20000 5 $time_4 00100000 1 [holl "priv"] 2 20001 5 $time_4 00000000 1 [holl "pub"] }"
talk_to client 2
simple_expect ":18 14 4 $backdated_time_4 5 0 6 0 4 { 0 7 6 4 15 6 6 4 } 1 { 2 20001 5 $time_4 00000000 1 [holl "pub"] }"
# Async for deletion of text 6
# FIXME: this is untested and may contain errors.
talk_to client 0
extracting_expect ":18 14 5 ($any_time) 6 0 6 0 4 { 0 7 6 6 0 9 6 2 } 2 { 1 20000 6 $time_5 00100000 1 [holl "priv"] 2 20001 6 $time_5 00000000 1 [holl "pub"] }" backdated_time_5 1
talk_to client 1
simple_expect ":18 14 5 $backdated_time_5 6 0 6 0 2 { 0 7 6 6 } 1 { 2 20001 6 $time_5 00000000 1 [holl "pub"] }"
talk_to client 2
simple_expect ":18 14 5 $backdated_time_5 6 0 6 0 4 { 0 7 6 6 0 9 6 2 } 2 { 1 20000 6 $time_5 00100000 1 [holl "priv"] 2 20001 6 $time_5 00000000 1 [holl "pub"] }"
# Garb ends. # Garb ends.
#### FIXME: this depends on disabled code above #### FIXME: this depends on disabled code above
......
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