Commit 11708e6b authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Destroy all structures before exit, so that the leak check of valgrind

works properly.
parent dad8e128
......@@ -284,6 +284,8 @@ l2g_send "l2 102"
simple_expect 173 "test 77"
l2g_send "l2 101"
simple_expect 0 "test 78"
l2g_send "D1"
l2g_send "D0"
l2g_send "D2"
l2g_stop
......@@ -123,3 +123,10 @@ l2g_send "n2 $plno"
simple_expect "0" "test 15 plno $plno"
l2g_send "n3 $plno"
simple_expect "0" "test 16 plno $plno"
l2g_send "D3"
l2g_send "D1"
l2g_send "D0"
l2g_send "D2"
l2g_stop
......@@ -50,4 +50,5 @@ l2g_send "u0"
simple_expect "Number of blocks: 1" "test 8"
simple_expect "First unused: 801" "test 8b"
simple_expect "0: 2 8 700 \\(sparse\\) \\\[700:100 800:108 \\\]" "test 9"
l2g_send "D0"
l2g_stop
......@@ -75,4 +75,5 @@ l2g_send "n0 750"
simple_expect "800" "test 19"
l2g_send "n0 749"
simple_expect "800" "test 20"
l2g_send "D0"
l2g_stop
......@@ -50,4 +50,5 @@ simple_expect "Number of blocks: 2" "test 4"
simple_expect "First unused: 21" "test 4b"
simple_expect "0: 9 1 10 \\(dense\\) \\\[100 102 104 106 108 110 112 114 116 \\\]" "test 5"
simple_expect "1: 1 9 20 \\(dense\\) \\\[118 \\\]" "test 6"
l2g_send "D0"
l2g_stop
......@@ -34,4 +34,5 @@ l2g_send "u0"
simple_expect "Number of blocks: 1" "test 0"
simple_expect "First unused: 101" "test 0b"
simple_expect "0: 3 7 90 \\(sparse\\) \\\[90:107 99:116 100:117 \\\]" "test 1"
l2g_send "D0"
l2g_stop
......@@ -63,5 +63,6 @@ l2g_send "u1"
simple_expect "Number of blocks: 1" "test 10"
simple_expect "First unused: 902" "test 10b"
simple_expect "0: 2 9 90 \\(sparse\\) \\\[90:107 901:0 \\\]" "test 11"
l2g_send "D0"
l2g_send "D1"
l2g_stop
......@@ -419,4 +419,7 @@ simple_expect "2: 10 1 837 \\(sparse\\) \\\[837:927 876:899 905:1000 917:963 976
simple_expect "3: 10 1 1169 \\(sparse\\) \\\[1169:1203 1201:1241 1246:1336 1300:1379 1334:1441 1371:1458 1420:1443 1475:1503 1534:1641 1571:0 \\\]" "test 292"
simple_expect "4: 4 7 1609 \\(sparse\\) \\\[1609:1690 1663:1760 1718:1763 1755:0 \\\]" "test 293"
l2g_send "D0"
l2g_send "D1"
l2g_stop
......@@ -32,4 +32,5 @@ l2g_send "a0 400 9999"
l2g_send "d0 100"
l2g_send "n0 0"
simple_expect "400" "test 0"
l2g_send "D0"
l2g_stop
......@@ -51,6 +51,7 @@ simple_expect "First unused: 99" "test 6"
simple_expect "0: 10 0 10 \\(dense\\) \\\[1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 \\\]" "test 7"
simple_expect "1: 3 7 25 \\(sparse\\) \\\[25:1025 43:1043 98:1098 \\\]" "test 8"
l2g_send "d0 98"
l2g_send "D1"
l2g_send "I1"
l2g_send "C1 0"
l2g_send "u0"
......@@ -74,7 +75,7 @@ simple_expect "\\\[99 10:1010,1011,1012,1013,1014,1015,1016,1017,1018,1019 25:10
l2g_send "d0 25"
l2g_send "d0 43"
l2g_send "I1"
l2g_send "C1"
l2g_send "C1 0"
l2g_send "u0"
simple_expect "Number of blocks: 1" "test 19"
......@@ -100,4 +101,7 @@ simple_expect "First unused: 118" "test 28"
simple_expect "0: 10 1 10 \\(dense\\) \\\[1010 1011 1012 0 1014 1015 1016 1017 1018 1019 \\\]" "test 29"
simple_expect "1: 2 8 25 \\(sparse\\) \\\[25:1025 43:1043 \\\]" "test 30"
l2g_send "D0"
l2g_send "D1"
l2g_send "D2"
l2g_stop
......@@ -39,4 +39,5 @@ l2g_send "i0 3 10"
l2g_send "i0 11 20"
l2g_send "i0 2 12"
simple_expect "10:1010" "test 4"
l2g_send "D0"
l2g_stop
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