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

Added test cases for local-to-global-reverse and

map-created-texts-reverse.
parent 245eb455
......@@ -24,6 +24,7 @@
# Test get_map and local_to_global.
# Test get_created_texts and map_created_texts.
# Test local_to_global_reverse and map_created_texts_reverse.
# As a side effect a lot of other things are also tested.
# The following texts are created by this test case:
......@@ -59,24 +60,34 @@ send "1001 14 1 5 100 1\n"
simple_expect "=1001" "14=add-member-old succeeded"
# Get the map using 34=get-map and 103=local-to-global
# Also test 121=local-to-global-reverse, in indented lines.
send "1002 34 1 0 50\n"
simple_expect "=1002 1 0 \\*" "empty map (old-style 0)"
send "1003 103 1 0 50\n"
simple_expect "%1003 17 0" "empty map (new-style 0)"
send "2000 121 1 0 50\n"
simple_expect "=2000 1 1 0 0 0 \\*"
send "1004 34 1 1 50\n"
simple_expect "%1004 16 1" "empty map (old-style 1)"
send "1005 103 1 1 50\n"
simple_expect "%1005 16 1" "empty map (new-style 1)"
send "2001 121 1 1 50\n"
simple_expect "=2001 1 1 0 0 0 \\*"
send "1006 34 1 2 50\n"
simple_expect "%1006 16 2" "empty map (old-style 2)"
send "1007 103 1 2 50\n"
simple_expect "%1007 16 2" "empty map (new-style 2)"
send "2002 121 1 2 50\n"
simple_expect "=2002 1 1 0 0 0 \\*"
# Create a text
send "1008 28 [holl text0001] 1 { 0 1 }\n"
simple_expect ":16 0 1 $any_time 5 0 8 0 2 { 0 1 6 1 }" "async text 1 created"
......@@ -89,18 +100,27 @@ simple_expect "=1009 1 1 { 1 }" "one map (old-style 0)"
send "1010 103 1 0 50\n"
simple_expect "%1010 17 0" "one map (new-style 0)"
send "2003 121 1 0 50\n"
simple_expect "=2003 1 2 0 1 1 1 { 1 }"
send "1011 34 1 1 50\n"
simple_expect "=1011 1 1 { 1 }" "one map (old-style)"
send "1012 103 1 1 50\n"
simple_expect "=1012 1 2 0 1 1 1 { 1 }" "one map (new-style)"
send "2004 121 1 1 50\n"
simple_expect "=2004 1 1 0 0 0 \\*"
send "1013 34 1 2 50\n"
simple_expect "%1013 16 2" "one map (old-style 2)"
send "1014 103 1 2 50\n"
simple_expect "%1014 16 2" "one map (new-style 2)"
send "2005 121 1 2 50\n"
simple_expect "=2005 1 2 0 1 1 1 { 1 }"
# Create yet another text in a conference we are not subscribed to.
# Make sure that no async message arrives.
send "1015 28 [holl text002] 1 { 0 2 }\n"
......@@ -119,42 +139,63 @@ simple_expect "=1017 1 2 { 1 3 }" "one map (old-style 0)"
send "1018 103 1 0 50\n"
simple_expect "%1018 17 0" "one map (new-style 0)"
send "2006 121 1 0 50\n"
simple_expect "=2006 1 3 0 1 1 2 { 1 3 }"
send "1019 34 1 1 50\n"
simple_expect "=1019 1 2 { 1 3 }" "one map (old-style)"
send "1020 103 1 1 50\n"
simple_expect "=1020 1 3 0 1 1 2 { 1 3 }" "one map (new-style)"
send "2007 121 1 1 50\n"
simple_expect "=2007 1 1 0 0 0 \\*"
send "1021 34 1 3 50\n"
simple_expect "%1021 16 3" "one map (old-style 3)"
send "1022 103 1 3 50\n"
simple_expect "%1022 16 3" "one map (new-style 3)"
send "2008 121 1 3 50\n"
simple_expect "=2008 1 3 0 1 1 2 { 1 3 }"
send "1023 34 1 2 50\n"
simple_expect "=1023 2 1 { 3 }" "one map (old-style 2)"
send "1024 103 1 2 50\n"
simple_expect "=1024 2 3 0 1 2 1 { 3 }" "one map (new-style 2)"
send "2009 121 1 2 50\n"
simple_expect "=2009 1 2 0 1 1 1 { 1 }"
send "1025 34 1 1 2\n"
simple_expect "=1025 1 2 { 1 3 }" "one map (old-style)"
send "1026 103 1 1 2\n"
simple_expect "=1026 1 3 0 1 1 2 { 1 3 }" "one map (new-style)"
send "2010 121 1 3 2\n"
simple_expect "=2010 1 3 0 1 1 2 { 1 3 }"
send "1027 34 1 1 1\n"
simple_expect "=1027 1 1 { 1 }" "one map (old-style)"
send "1028 103 1 1 1\n"
simple_expect "=1028 1 2 1 1 1 1 { 1 }" "one map (new-style)"
send "2011 121 1 3 1\n"
simple_expect "=2011 2 3 1 1 2 1 { 3 }"
send "1029 34 1 1 0\n"
simple_expect "=1029 1 0 \\*" "one map (old-style)"
send "1030 103 1 1 0\n"
simple_expect "=1030 1 1 1 0 0 \\*" "one map (new-style)"
send "2012 121 1 3 0\n"
simple_expect "=2012 3 3 1 0 0 \\*"
# Connect a second client that is aux-info-aware
client_start 1
talk_to client 1
......@@ -185,9 +226,9 @@ simple_expect "=1036 0 \\*" "No Eskil Block yet"
send "1037 89 [holl "Eskil Block, FOA"] [holl "liksE"] 00000000 2 { 9 00000000 1 [holl "simulated compface data"] 12 00000000 1 [holl "simulated pgp public key"] }\n"
simple_expect "=1037 6" "created Eskil, got 6"
send "1037 62 6 [holl "liksE"] 0\n"
simple_expect ":2 9 6 2" "Eskil logged in (async c1)"
simple_expect "=1037"
send "2013 62 6 [holl "liksE"] 0\n"
simple_expect ":2 9 6 2" "Eskil logged in (async c1)"
simple_expect "=2013"
talk_to client 0
simple_expect ":2 9 6 2" "Eskil logged in (async c0)"
......@@ -222,42 +263,87 @@ simple_expect "=1043 1 3 { 1 3 4 }" "one map (old-style 0)"
send "1044 103 1 0 50\n"
simple_expect "%1044 17 0" "one map (new-style 0)"
send "2014 121 1 0 50\n"
simple_expect "=2014 1 4 0 1 1 3 { 1 3 4 }"
send "1045 34 1 1 50\n"
simple_expect "=1045 1 3 { 1 3 4 }" "one map (old-style)"
send "1046 103 1 1 50\n"
simple_expect "=1046 1 4 0 1 1 3 { 1 3 4 }" "one map (new-style)"
send "2015 121 1 1 50\n"
simple_expect "=2015 1 1 0 0 0 \\*"
send "1047 34 1 4 50\n"
simple_expect "%1047 16 4" "one map (old-style 3)"
send "1048 103 1 4 50\n"
simple_expect "%1048 16 4" "one map (new-style 3)"
send "2016 121 1 4 50\n"
simple_expect "=2016 1 4 0 1 1 3 { 1 3 4 }"
send "1049 34 1 2 50\n"
simple_expect "=1049 2 2 { 3 4 }" "one map (old-style 2)"
send "1050 103 1 2 50\n"
simple_expect "=1050 2 4 0 1 2 2 { 3 4 }" "one map (new-style 2)"
send "2017 121 1 3 50\n"
simple_expect "=2017 1 3 0 1 1 2 { 1 3 }"
send "2018 121 1 2 50\n"
simple_expect "=2018 1 2 0 1 1 1 { 1 }"
send "1051 34 1 1 2\n"
simple_expect "=1051 1 2 { 1 3 }" "one map (old-style)"
send "1052 103 1 1 2\n"
simple_expect "=1052 1 3 1 1 1 2 { 1 3 }" "one map (new-style)"
send "2019 121 1 3 2\n"
simple_expect "=2019 1 3 0 1 1 2 { 1 3 }"
send "2020 121 1 4 2\n"
simple_expect "=2020 2 4 1 1 2 2 { 3 4 }"
send "1053 34 1 1 1\n"
simple_expect "=1053 1 1 { 1 }" "one map (old-style)"
send "1054 103 1 1 1\n"
simple_expect "=1054 1 2 1 1 1 1 { 1 }" "one map (new-style)"
send "2021 121 1 4 1\n"
simple_expect "=2021 3 4 1 1 3 1 { 4 }"
send "2022 121 1 3 1\n"
simple_expect "=2022 2 3 1 1 2 1 { 3 }"
send "2023 121 1 2 1\n"
simple_expect "=2023 1 2 0 1 1 1 { 1 }"
send "2024 121 1 1 1\n"
simple_expect "=2024 1 1 0 0 0 \\*"
send "2025 121 1 0 1\n"
simple_expect "=2025 3 4 1 1 3 1 { 4 }"
send "1055 34 1 3 0\n"
simple_expect "=1055 3 0 \\*" "one map (old-style)"
send "1056 103 1 3 0\n"
simple_expect "=1056 3 3 1 0 0 \\*" "one map (new-style)"
send "2026 121 1 1 0\n"
simple_expect "=2026 1 1 0 0 0 \\*"
send "2027 121 1 4 0\n"
simple_expect "=2027 4 4 1 0 0 \\*"
send "2028 121 1 0 0\n"
simple_expect "=2028 4 4 1 0 0 \\*"
talk_to client 1
send "1057 86 [holl "text0005 failed attempt"] 1 { 0 1 } 1 { 9 00000000 1 [holl "simulated compface data"] }\n"
......@@ -425,6 +511,74 @@ simple_expect "=1101 8 10 0 1 8 2 { 9 10 }"
send "1102 103 1 9 1\n"
simple_expect "=1102 9 10 0 1 9 1 { 10 }"
# Check local_to_global_reverse
send "2029 121 1 0 50\n"
simple_expect "=2029 1 10 0 1 1 9 { 1 3 4 5 6 7 8 9 10 }"
send "2030 121 1 12 50\n"
simple_expect "=2030 1 10 0 1 1 9 { 1 3 4 5 6 7 8 9 10 }"
send "2031 121 1 11 50\n"
simple_expect "=2031 1 10 0 1 1 9 { 1 3 4 5 6 7 8 9 10 }"
send "2032 121 1 10 50\n"
simple_expect "=2032 1 10 0 1 1 9 { 1 3 4 5 6 7 8 9 10 }"
send "2033 121 1 9 50\n"
simple_expect "=2033 1 9 0 1 1 8 { 1 3 4 5 6 7 8 9 }"
send "2034 121 1 8 50\n"
simple_expect "=2034 1 8 0 1 1 7 { 1 3 4 5 6 7 8 }"
send "2035 121 1 7 50\n"
simple_expect "=2035 1 7 0 1 1 6 { 1 3 4 5 6 7 }"
send "2036 121 1 6 50\n"
simple_expect "=2036 1 6 0 1 1 5 { 1 3 4 5 6 }"
send "2037 121 1 5 50\n"
simple_expect "=2037 1 5 0 1 1 4 { 1 3 4 5 }"
send "2038 121 1 4 50\n"
simple_expect "=2038 1 4 0 1 1 3 { 1 3 4 }"
send "2039 121 1 3 50\n"
simple_expect "=2039 1 3 0 1 1 2 { 1 3 }"
send "2040 121 1 2 50\n"
simple_expect "=2040 1 2 0 1 1 1 { 1 }"
send "2041 121 1 1 50\n"
simple_expect "=2041 1 1 0 0 0 \\*"
send "2042 121 1 12 10\n"
simple_expect "=2042 1 10 0 1 1 9 { 1 3 4 5 6 7 8 9 10 }"
send "2043 121 1 12 9\n"
simple_expect "=2043 1 10 0 1 1 9 { 1 3 4 5 6 7 8 9 10 }"
send "2044 121 1 12 8\n"
simple_expect "=2044 2 10 1 1 2 8 { 3 4 5 6 7 8 9 10 }"
send "2045 121 1 11 8\n"
simple_expect "=2045 2 10 1 1 2 8 { 3 4 5 6 7 8 9 10 }"
send "2046 121 1 10 8\n"
simple_expect "=2046 2 10 1 1 2 8 { 3 4 5 6 7 8 9 10 }"
send "2047 121 1 10 5\n"
simple_expect "=2047 5 10 1 1 5 5 { 6 7 8 9 10 }"
send "2048 121 1 10 4\n"
simple_expect "=2048 6 10 1 1 6 4 { 7 8 9 10 }"
send "2049 121 1 10 2\n"
simple_expect "=2049 8 10 1 1 8 2 { 9 10 }"
send "2050 121 1 10 1\n"
simple_expect "=2050 9 10 1 1 9 1 { 10 }"
# Remove a few texts to provoke sparse maps.
send "1103 29 4\n"
......@@ -474,6 +628,36 @@ simple_expect "=1115 2 6 1 0 2 { 2 3 5 6 }"
send "1116 103 1 2 3\n"
simple_expect "=1116 2 7 1 1 2 5 { 3 0 0 6 7 }"
send "2051 121 1 0 50\n"
simple_expect "=2051 1 10 0 1 1 9 { 1 3 0 0 6 7 8 9 10 }"
send "2052 121 1 7 1\n"
simple_expect "=2052 6 7 1 1 6 1 { 7 }"
send "2053 121 1 6 1\n"
simple_expect "=2053 5 6 1 1 5 1 { 6 }"
send "2054 121 1 5 1\n"
simple_expect "=2054 2 5 1 1 2 1 { 3 }"
send "2055 121 1 4 1\n"
simple_expect "=2055 2 4 1 1 2 1 { 3 }"
send "2056 121 1 3 1\n"
simple_expect "=2056 2 3 1 1 2 1 { 3 }"
send "2057 121 1 2 1\n"
simple_expect "=2057 1 2 0 1 1 1 { 1 }"
send "2058 121 1 6 2\n"
simple_expect "=2058 2 6 1 0 2 { 2 3 5 6 }"
send "2059 121 1 6 3\n"
simple_expect "=2059 1 6 0 1 1 5 { 1 3 0 0 6 }"
send "2060 121 1 7 3\n"
simple_expect "=2060 2 7 1 1 2 5 { 3 0 0 6 7 }"
# Texts written by person 5:
# ano: 1 2 3 4 5 6 7 8
# tno: 1 2 3 6 7 8 9 10
......@@ -560,6 +744,33 @@ simple_expect "%1141 17 0"
send "1142 104 6 1 10\n"
simple_expect "=1142 1 3 0 1 2 1 { 5 }"
send "2061 122 5 0 50\n"
simple_expect "=2061 1 9 0 1 1 8 { 1 2 3 6 7 8 9 10 }"
send "2062 122 5 10 50\n"
simple_expect "=2062 1 9 0 1 1 8 { 1 2 3 6 7 8 9 10 }"
send "2063 122 5 10 50\n"
simple_expect "=2063 1 9 0 1 1 8 { 1 2 3 6 7 8 9 10 }"
send "2064 122 5 9 50\n"
simple_expect "=2064 1 9 0 1 1 8 { 1 2 3 6 7 8 9 10 }"
send "2065 122 5 8 50\n"
simple_expect "=2065 1 8 0 1 1 7 { 1 2 3 6 7 8 9 }"
send "2066 122 5 2 50\n"
simple_expect "=2066 1 2 0 1 1 1 { 1 }"
send "2067 122 5 8 7\n"
simple_expect "=2067 1 8 0 1 1 7 { 1 2 3 6 7 8 9 }"
send "2068 122 5 8 6\n"
simple_expect "=2068 2 8 1 1 2 6 { 2 3 6 7 8 9 }"
send "2069 122 5 8 0\n"
simple_expect "=2069 8 8 1 0 0 \\*"
# Remove some more
talk_to client 0
......@@ -612,6 +823,36 @@ simple_expect "=1154 6 4 { 0 0 0 10 }"
send "1155 34 1 1 50\n"
simple_expect "=1155 1 9 { 1 3 0 0 0 0 0 0 10 }"
send "2070 121 1 3 2\n"
simple_expect "=2070 1 3 0 1 1 2 { 1 3 }"
send "2071 121 1 4 2\n"
simple_expect "=2071 1 4 0 1 1 2 { 1 3 }"
send "2072 121 1 8 2\n"
simple_expect "=2072 1 8 0 1 1 2 { 1 3 }"
send "2073 121 1 9 2\n"
simple_expect "=2073 1 9 0 1 1 2 { 1 3 }"
send "2074 121 1 10 2\n"
simple_expect "=2074 2 10 1 0 2 { 2 3 9 10 }"
send "2075 121 1 10 3\n"
simple_expect "=2075 1 10 0 0 3 { 1 1 2 3 9 10 }"
send "2076 121 1 10 50\n"
simple_expect "=2076 1 10 0 0 3 { 1 1 2 3 9 10 }"
send "2077 121 1 40 50\n"
simple_expect "=2077 1 10 0 0 3 { 1 1 2 3 9 10 }"
send "2078 121 1 0 50\n"
simple_expect "=2078 1 10 0 0 3 { 1 1 2 3 9 10 }"
send "2079 121 1 6 50\n"
simple_expect "=2079 1 6 0 1 1 2 { 1 3 }"
# Test the limit on no_of_texts
send "1156 103 1 3 256\n"
simple_expect "%1156 46 255"
......@@ -619,6 +860,12 @@ simple_expect "%1156 46 255"
send "1157 103 1 3 255\n"
simple_expect "=1157 3 10 0 1 9 1 { 10 }"
send "2080 121 1 0 256\n"
simple_expect "%2080 46 255"
send "2081 121 1 0 255\n"
simple_expect "=2081 1 10 0 0 3 { 1 1 2 3 9 10 }"
# Test to get the map from a conference we are not a member of
send "1158 34 3 1 10\n"
simple_expect "=1158 1 1 { 3 }"
......@@ -626,6 +873,9 @@ simple_expect "=1158 1 1 { 3 }"
send "1159 103 3 1 10\n"
simple_expect "=1159 1 2 0 1 1 1 { 3 }"
send "2082 121 3 0 10\n"
simple_expect "=2082 1 2 0 1 1 1 { 3 }"
# Texts written by person 5:
# ano: 1 2 3 . . . . 8
# tno: 1 2 3 . . . . 10
......@@ -658,6 +908,45 @@ simple_expect "=1166 3 9 0 0 2 { 3 3 8 10 }"
send "1167 104 5 3 1\n"
simple_expect "=1167 3 4 1 1 3 1 { 3 }"
send "2083 122 5 4 3\n"
simple_expect "=2083 1 4 0 1 1 3 { 1 2 3 }"
send "2084 122 5 10 1\n"
simple_expect "=2084 8 9 1 1 8 1 { 10 }"
send "2085 122 5 9 1\n"
simple_expect "=2085 8 9 1 1 8 1 { 10 }"
send "2086 122 5 8 1\n"
simple_expect "=2086 3 8 1 1 3 1 { 3 }"
send "2087 122 5 10 2\n"
simple_expect "=2087 3 9 1 0 2 { 3 3 8 10 }"
send "2088 122 5 10 3\n"
simple_expect "=2088 2 9 1 0 3 { 2 2 3 3 8 10 }"
send "2089 122 5 10 4\n"
simple_expect "=2089 1 9 0 0 4 { 1 1 2 2 3 3 8 10 }"
send "2090 122 5 10 5\n"
simple_expect "=2090 1 9 0 0 4 { 1 1 2 2 3 3 8 10 }"
send "2091 122 5 10 50\n"
simple_expect "=2091 1 9 0 0 4 { 1 1 2 2 3 3 8 10 }"
send "2092 122 5 10 255\n"
simple_expect "=2092 1 9 0 0 4 { 1 1 2 2 3 3 8 10 }"
send "2093 122 5 10 256\n"
simple_expect "%2093 46 255"
send "2094 122 5 9 255\n"
simple_expect "=2094 1 9 0 0 4 { 1 1 2 2 3 3 8 10 }"
send "2095 122 5 8 255\n"
simple_expect "=2095 1 8 0 1 1 3 { 1 2 3 }"
send "1168 47 5 1 3\n"
simple_expect "=1168 1 3 { 1 2 3 }"
......@@ -703,6 +992,9 @@ simple_expect "=1181 8 1 { 10 }"
send "1182 104 6 1 50\n"
simple_expect "=1182 1 3 0 1 2 1 { 5 }"
send "2096 122 6 0 50\n"
simple_expect "=2096 2 3 0 1 2 1 { 5 }"
send "1183 47 6 1 50\n"
simple_expect "=1183 2 1 { 5 }"
......@@ -782,6 +1074,21 @@ simple_expect "=1199 2 0 \\*"
send "1200 103 3 1 10\n"
simple_expect "=1200 1 2 0 0 0 \\*"
send "2097 121 3 0 10\n"
simple_expect "=2097 2 2 0 0 0 \\*"
send "2098 121 3 400 10\n"
simple_expect "=2098 2 2 0 0 0 \\*"
send "2099 121 3 3 10\n"
simple_expect "=2099 2 2 0 0 0 \\*"
send "2100 121 3 2 10\n"
simple_expect "=2100 2 2 0 0 0 \\*"
send "2101 121 3 1 10\n"
simple_expect "=2101 1 1 0 0 0 \\*"
# Texts written by person 5:
# ano: . 2 . . . . . 8
# tno: . 2 . . . . . 10
......@@ -805,6 +1112,21 @@ simple_expect "%1204 16 9"
send "1205 104 5 1 1\n"
simple_expect "=1205 1 3 1 1 2 1 { 2 }"
send "2102 122 5 0 50\n"
simple_expect "=2102 2 9 0 0 2 { 2 2 8 10 }"
send "2103 122 5 0 2\n"
simple_expect "=2103 2 9 0 0 2 { 2 2 8 10 }"
send "2104 122 5 3 50\n"
simple_expect "=2104 2 3 0 1 2 1 { 2 }"
send "2105 122 5 25 1\n"
simple_expect "=2105 8 9 1 1 8 1 { 10 }"
send "2106 122 5 2 50\n"
simple_expect "=2106 2 2 0 0 0 \\*"
send "1206 104 6 1 1\n"
simple_expect "=1206 1 3 1 1 2 1 { 5 }"
......@@ -814,6 +1136,33 @@ simple_expect "=1207 1 5 1 1 2 3 { 5 0 12 }"
send "1208 104 6 1 3\n"
simple_expect "=1208 1 6 0 1 2 4 { 5 0 12 13 }"
send "2107 122 6 9 1\n"
simple_expect "=2107 5 6 1 1 5 1 { 13 }"
send "2108 122 6 9 2\n"
simple_expect "=2108 4 6 1 1 4 2 { 12 13 }"
send "2109 122 6 9 3\n"
simple_expect "=2109 2 6 0 1 2 4 { 5 0 12 13 }"
send "2110 122 6 9 50\n"
simple_expect "=2110 2 6 0 1 2 4 { 5 0 12 13 }"
send "2111 122 6 0 1\n"
simple_expect "=2111 5 6 1 1 5 1 { 13 }"
send "2112 122 6 0 2\n"
simple_expect "=2112 4 6 1 1 4 2 { 12 13 }"
send "2113 122 6 0 3\n"
simple_expect "=2113 2 6 0 1 2 4 { 5 0 12 13 }"
send "2114 122 6 0 4\n"
simple_expect "=2114 2 6 0 1 2 4 { 5 0 12 13 }"
send "2115 122 6 0 50\n"
simple_expect "=2115 2 6 0 1 2 4 { 5 0 12 13 }"
send "1209 104 6 2 1\n"
simple_expect "=1209 2 3 1 1 2 1 { 5 }"
......@@ -823,6 +1172,15 @@ simple_expect "=1210 2 5 1 1 2 3 { 5 0 12 }"
send "1211 104 6 2 3\n"
simple_expect "=1211 2 6 0 1 2 4 { 5 0 12 13 }"
send "2116 122 6 5 1\n"
simple_expect "=2116 4 5 1 1 4 1 { 12 }"
send "2117 122 6 5 2\n"
simple_expect "=2117 2 5 0 1 2 3 { 5 0 12 }"
send "2118 122 6 5 3\n"
simple_expect "=2118 2 5 0 1 2 3 { 5 0 12 }"
send "1212 104 6 3 1\n"
simple_expect "=1212 3 5 1 1 4 1 { 12 }"
......@@ -832,6 +1190,15 @@ simple_expect "=1213 3 6 0 1 4 2 { 12 13 }"
send "1214 104 6 3 3\n"
simple_expect "=1214 3 6 0 1 4 2 { 12 13 }"
send "2119 122 6 4 1\n"
simple_expect "=2119 2 4 0 1 2 1 { 5 }"
send "2120 122 6 4 2\n"
simple_expect "=2120 2 4 0 1 2 1 { 5 }"
send "2121 122 6 4 40\n"
simple_expect "=2121 2 4 0 1 2 1 { 5 }"
send "1215 104 6 4 1\n"
simple_expect "=1215 4 5 1 1 4 1 { 12 }"
......@@ -841,6 +1208,9 @@ simple_expect "=1216 4 6 0 1 4 2 { 12 13 }"
send "1217 104 6 4 3\n"
simple_expect "=1217 4 6 0 1 4 2 { 12 13 }"
send "2122 122 6 3 40\n"
simple_expect "=2122 2 3 0 1 2 1 { 5 }"
send "1218 47 5 0 7\n"
simple_expect "=1218 2 7 { 2 0 0 0 0 0 10 }"
......@@ -924,6 +1294,18 @@ simple_expect "=1240 1 6 0 1 4 2 { 12 13 }"
send "1241 104 6 1 1\n"
simple_expect "=1241 1 5 1 1 4 1 { 12 }"
send "2123 122 6 6 2\n"
simple_expect "=2123 4 6 0 1 4 2 { 12 13 }"
send "2124 122 6 6 1\n"
simple_expect "=2124 5 6 1 1 5 1 { 13 }"
send "2125 122 6 0 2\n"
simple_expect "=2125 4 6 0 1 4 2 { 12 13 }"
send "2126 122 6 0 1\n"
simple_expect "=2126 5 6 1 1 5 1 { 13 }"
send "1242 47 6 1 2\n"
simple_expect "=1242 4 2 { 12 13 }"
......@@ -972,6 +1354,42 @@ simple_expect "=1251 8 9 0 0 0 \\*"
send "1252 104 5 9 1\n"
simple_expect "%1252 16 9"
send "2127 122 5 0 50\n"
simple_expect "=2127 9 9 0 0 0 \\*"
send "2128 122 5 9 50\n"
simple_expect "=2128 9 9 0 0 0 \\*"
send "2129 122 5 10 50\n"
simple_expect "=2129 9 9 0 0 0 \\*"
send "2130 122 5 8 50\n"
simple_expect "=2130 8 8 0 0 0 \\*"
send "2131 122 5 2 50\n"
simple_expect "=2131 2 2 0 0 0 \\*"
send "2132 122 5 1 50\n"
simple_expect "=2132 1 1 0 0 0 \\*"
send "2133 122 5 0 1\n"
simple_expect "=2133 9 9 0 0 0 \\*"
send "2134 122 5 9 1\n"
simple_expect "=2134 9 9 0 0 0 \\*"
send "2135 122 5 10 1\n"
simple_expect "=2135 9 9 0 0 0 \\*"