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

Initial commit.

parent 5159d631
# Test suite for Local_to_global.
# Copyright (C) 1999 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
# Check l2g_set_expensive.
l2g_start
l2g_send "I0"
# Append 25 random numbers in the range 1..1000, simulating some
# sparse old marked texts.
l2g_send "a0 35 53428"
l2g_send "a0 50 57456"
l2g_send "a0 222 59570"
l2g_send "a0 259 70441"
l2g_send "a0 304 72037"
l2g_send "a0 329 72239"
l2g_send "a0 358 72910"
l2g_send "a0 383 73113"
l2g_send "a0 389 73612"
l2g_send "a0 395 76393"
l2g_send "a0 445 77697"
l2g_send "a0 474 78372"
l2g_send "a0 482 79436"
l2g_send "a0 539 80907"
l2g_send "a0 602 84499"
l2g_send "a0 612 87035"
l2g_send "a0 618 87514"
l2g_send "a0 688 88856"
l2g_send "a0 792 89215"
l2g_send "a0 849 92418"
l2g_send "a0 922 93794"
l2g_send "a0 923 94866"
l2g_send "a0 933 95724"
l2g_send "a0 948 97085"
l2g_send "a0 992 97960"
l2g_send "w0"
simple_expect "\\\[993 35:53428 50:57456 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76393 445:77697 474:78372 482:79436 539:80907 602:84499 612:87035 618:87514 688:88856 792:89215 849:92418 922:93794,94866 933:95724 948:97085 992:97960\\\]"
# Insert 25 numbers in the range 1001..1025, simulating newly created
# texts.
l2g_send "a0 1001 101613"
l2g_send "a0 1002 102864"
l2g_send "a0 1003 103254"
l2g_send "a0 1004 103935"
l2g_send "a0 1005 104444"
l2g_send "a0 1006 105551"
l2g_send "a0 1007 105859"
l2g_send "a0 1008 106390"
l2g_send "a0 1009 106784"
l2g_send "a0 1010 107002"
l2g_send "a0 1011 107212"
l2g_send "a0 1012 107324"
l2g_send "a0 1013 107469"
l2g_send "a0 1014 107571"
l2g_send "a0 1015 108471"
l2g_send "a0 1016 108592"
l2g_send "a0 1017 109959"
l2g_send "a0 1018 111141"
l2g_send "a0 1019 111225"
l2g_send "a0 1020 113738"
l2g_send "a0 1021 116365"
l2g_send "a0 1022 117110"
l2g_send "a0 1023 117278"
l2g_send "a0 1024 117886"
l2g_send "a0 1025 119385"
l2g_send "w0"
simple_expect "\\\[1026 35:53428 50:57456 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76393 445:77697 474:78372 482:79436 539:80907 602:84499 612:87035 618:87514 688:88856 792:89215 849:92418 922:93794,94866 933:95724 948:97085 992:97960 1001:101613,102864,103254,103935,104444,105551,105859,106390,106784,107002,107212,107324,107469,107571,108471,108592,109959,111141,111225,113738,116365,117110,117278,117886,119385\\\]"
# Check that we've got three sparse blocks and two dense. All of them
# are optimally packed.
l2g_send "u0"
simple_expect "Number of blocks: 5"
simple_expect "First unused: 1026"
simple_expect "0: 10 0 35 \\(sparse\\) \\\[35:53428 50:57456 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76393 \\\]"
simple_expect "1: 10 0 445 \\(sparse\\) \\\[445:77697 474:78372 482:79436 539:80907 602:84499 612:87035 618:87514 688:88856 792:89215 849:92418 \\\]"
simple_expect "2: 10 0 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:104444 \\\]"
simple_expect "3: 10 0 1006 \\(dense\\) \\\[105551 105859 106390 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "4: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
# Remove some data.
l2g_send "d0 445"
l2g_send "d0 849"
l2g_send "d0 482"
l2g_send "d0 612"
l2g_send "d0 602"
l2g_send "d0 1005"
# Change some settings.
l2g_send "s0 445 77698"
l2g_send "u0"
simple_expect "Number of blocks: 5"
simple_expect "First unused: 1026"
simple_expect "0: 10 0 35 \\(sparse\\) \\\[35:53428 50:57456 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76393 \\\]"
simple_expect "1: 6 4 445 \\(sparse\\) \\\[445:77698 474:78372 539:80907 618:87514 688:88856 792:89215 \\\]"
simple_expect "2: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "3: 10 0 1006 \\(dense\\) \\\[105551 105859 106390 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "4: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 482 79932"
l2g_send "u0"
simple_expect "Number of blocks: 5"
simple_expect "First unused: 1026"
simple_expect "0: 10 0 35 \\(sparse\\) \\\[35:53428 50:57456 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76393 \\\]"
simple_expect "1: 7 3 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 \\\]"
simple_expect "2: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "3: 10 0 1006 \\(dense\\) \\\[105551 105859 106390 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "4: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 395 76394"
l2g_send "u0"
simple_expect "Number of blocks: 5"
simple_expect "First unused: 1026"
simple_expect "0: 10 0 35 \\(sparse\\) \\\[35:53428 50:57456 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 \\\]"
simple_expect "1: 7 3 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 \\\]"
simple_expect "2: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "3: 10 0 1006 \\(dense\\) \\\[105551 105859 106390 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "4: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 793 89216"
l2g_send "u0"
simple_expect "Number of blocks: 5"
simple_expect "First unused: 1026"
simple_expect "0: 10 0 35 \\(sparse\\) \\\[35:53428 50:57456 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 \\\]"
simple_expect "1: 8 2 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 \\\]"
simple_expect "2: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "3: 10 0 1006 \\(dense\\) \\\[105551 105859 106390 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "4: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 794 89217"
l2g_send "u0"
simple_expect "Number of blocks: 5"
simple_expect "First unused: 1026"
simple_expect "0: 10 0 35 \\(sparse\\) \\\[35:53428 50:57456 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 \\\]"
simple_expect "1: 9 1 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 \\\]"
simple_expect "2: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "3: 10 0 1006 \\(dense\\) \\\[105551 105859 106390 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "4: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 795 89218"
l2g_send "u0"
simple_expect "Number of blocks: 5"
simple_expect "First unused: 1026"
simple_expect "0: 10 0 35 \\(sparse\\) \\\[35:53428 50:57456 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 \\\]"
simple_expect "1: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "2: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "3: 10 0 1006 \\(dense\\) \\\[105551 105859 106390 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "4: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 796 89219"
l2g_send "u0"
simple_expect "Number of blocks: 6"
simple_expect "First unused: 1026"
simple_expect "0: 10 0 35 \\(sparse\\) \\\[35:53428 50:57456 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 \\\]"
simple_expect "1: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "2: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "3: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "4: 10 0 1006 \\(dense\\) \\\[105551 105859 106390 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "5: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 444 77690"
l2g_send "u0"
simple_expect "Number of blocks: 7"
simple_expect "First unused: 1026"
simple_expect "0: 10 0 35 \\(sparse\\) \\\[35:53428 50:57456 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 \\\]"
simple_expect "1: 1 9 444 \\(dense\\) \\\[77690 \\\]"
simple_expect "2: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "3: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "4: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "5: 10 0 1006 \\(dense\\) \\\[105551 105859 106390 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "6: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 35 53430"
l2g_send "u0"
simple_expect "Number of blocks: 7"
simple_expect "First unused: 1026"
simple_expect "0: 10 0 35 \\(sparse\\) \\\[35:53430 50:57456 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 \\\]"
simple_expect "1: 1 9 444 \\(dense\\) \\\[77690 \\\]"
simple_expect "2: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "3: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "4: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "5: 10 0 1006 \\(dense\\) \\\[105551 105859 106390 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "6: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 35 0"
l2g_send "u0"
simple_expect "Number of blocks: 6"
simple_expect "First unused: 1026"
simple_expect "0: 10 0 35 \\(sparse\\) \\\[50:57456 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 444:77690 \\\]"
simple_expect "1: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "2: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "3: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "4: 10 0 1006 \\(dense\\) \\\[105551 105859 106390 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "5: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 50 0"
l2g_send "u0"
simple_expect "Number of blocks: 6"
simple_expect "First unused: 1026"
simple_expect "0: 10 1 35 \\(sparse\\) \\\[50:0 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 444:77690 \\\]"
simple_expect "1: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "2: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "3: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "4: 10 0 1006 \\(dense\\) \\\[105551 105859 106390 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "5: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 34 58034"
l2g_send "u0"
simple_expect "Number of blocks: 7"
simple_expect "First unused: 1026"
simple_expect "0: 1 9 34 \\(dense\\) \\\[58034 \\\]"
simple_expect "1: 10 1 35 \\(sparse\\) \\\[50:0 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 444:77690 \\\]"
simple_expect "2: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "3: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "4: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "5: 10 0 1006 \\(dense\\) \\\[105551 105859 106390 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "6: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 35 58038"
l2g_send "u0"
simple_expect "Number of blocks: 7"
simple_expect "First unused: 1026"
simple_expect "0: 1 9 34 \\(dense\\) \\\[58034 \\\]"
simple_expect "1: 10 0 35 \\(sparse\\) \\\[35:58038 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 444:77690 \\\]"
simple_expect "2: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "3: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "4: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "5: 10 0 1006 \\(dense\\) \\\[105551 105859 106390 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "6: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 1008 106391"
l2g_send "u0"
simple_expect "Number of blocks: 7"
simple_expect "First unused: 1026"
simple_expect "0: 1 9 34 \\(dense\\) \\\[58034 \\\]"
simple_expect "1: 10 0 35 \\(sparse\\) \\\[35:58038 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 444:77690 \\\]"
simple_expect "2: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "3: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "4: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "5: 10 0 1006 \\(dense\\) \\\[105551 105859 106391 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "6: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 820 91032"
l2g_send "u0"
simple_expect "Number of blocks: 8"
simple_expect "First unused: 1026"
simple_expect "0: 1 9 34 \\(dense\\) \\\[58034 \\\]"
simple_expect "1: 10 0 35 \\(sparse\\) \\\[35:58038 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 444:77690 \\\]"
simple_expect "2: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "3: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "4: 1 9 820 \\(dense\\) \\\[91032 \\\]"
simple_expect "5: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "6: 10 0 1006 \\(dense\\) \\\[105551 105859 106391 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "7: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 821 91034"
l2g_send "u0"
simple_expect "Number of blocks: 8"
simple_expect "First unused: 1026"
simple_expect "0: 1 9 34 \\(dense\\) \\\[58034 \\\]"
simple_expect "1: 10 0 35 \\(sparse\\) \\\[35:58038 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 444:77690 \\\]"
simple_expect "2: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "3: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "4: 2 8 820 \\(dense\\) \\\[91032 91034 \\\]"
simple_expect "5: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "6: 10 0 1006 \\(dense\\) \\\[105551 105859 106391 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "7: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 823 91039"
l2g_send "u0"
simple_expect "Number of blocks: 8"
simple_expect "First unused: 1026"
simple_expect "0: 1 9 34 \\(dense\\) \\\[58034 \\\]"
simple_expect "1: 10 0 35 \\(sparse\\) \\\[35:58038 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 444:77690 \\\]"
simple_expect "2: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "3: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "4: 4 7 820 \\(dense\\) \\\[91032 91034 0 91039 \\\]"
simple_expect "5: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "6: 10 0 1006 \\(dense\\) \\\[105551 105859 106391 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "7: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 830 91229"
l2g_send "u0"
simple_expect "Number of blocks: 9"
simple_expect "First unused: 1026"
simple_expect "0: 1 9 34 \\(dense\\) \\\[58034 \\\]"
simple_expect "1: 10 0 35 \\(sparse\\) \\\[35:58038 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 444:77690 \\\]"
simple_expect "2: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "3: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "4: 4 7 820 \\(dense\\) \\\[91032 91034 0 91039 \\\]"
simple_expect "5: 1 9 830 \\(dense\\) \\\[91229 \\\]"
simple_expect "6: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "7: 10 0 1006 \\(dense\\) \\\[105551 105859 106391 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "8: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 829 91221"
l2g_send "u0"
simple_expect "Number of blocks: 9"
simple_expect "First unused: 1026"
simple_expect "0: 1 9 34 \\(dense\\) \\\[58034 \\\]"
simple_expect "1: 10 0 35 \\(sparse\\) \\\[35:58038 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 444:77690 \\\]"
simple_expect "2: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "3: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "4: 10 6 820 \\(dense\\) \\\[91032 91034 0 91039 0 0 0 0 0 91221 \\\]"
simple_expect "5: 1 9 830 \\(dense\\) \\\[91229 \\\]"
simple_expect "6: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "7: 10 0 1006 \\(dense\\) \\\[105551 105859 106391 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "8: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119385 \\\]"
l2g_send "s0 1025 119386"
l2g_send "u0"
simple_expect "Number of blocks: 9"
simple_expect "First unused: 1026"
simple_expect "0: 1 9 34 \\(dense\\) \\\[58034 \\\]"
simple_expect "1: 10 0 35 \\(sparse\\) \\\[35:58038 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 444:77690 \\\]"
simple_expect "2: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "3: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "4: 10 6 820 \\(dense\\) \\\[91032 91034 0 91039 0 0 0 0 0 91221 \\\]"
simple_expect "5: 1 9 830 \\(dense\\) \\\[91229 \\\]"
simple_expect "6: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "7: 10 0 1006 \\(dense\\) \\\[105551 105859 106391 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "8: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119386 \\\]"
l2g_send "s0 1026 119389"
l2g_send "u0"
simple_expect "Number of blocks: 10"
simple_expect "First unused: 1027"
simple_expect "0: 1 9 34 \\(dense\\) \\\[58034 \\\]"
simple_expect "1: 10 0 35 \\(sparse\\) \\\[35:58038 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 444:77690 \\\]"
simple_expect "2: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "3: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "4: 10 6 820 \\(dense\\) \\\[91032 91034 0 91039 0 0 0 0 0 91221 \\\]"
simple_expect "5: 1 9 830 \\(dense\\) \\\[91229 \\\]"
simple_expect "6: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "7: 10 0 1006 \\(dense\\) \\\[105551 105859 106391 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "8: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119386 \\\]"
simple_expect "9: 1 9 1026 \\(dense\\) \\\[119389 \\\]"
l2g_send "s0 1200 119390"
l2g_send "u0"
simple_expect "Number of blocks: 10"
simple_expect "First unused: 1201"
simple_expect "0: 1 9 34 \\(dense\\) \\\[58034 \\\]"
simple_expect "1: 10 0 35 \\(sparse\\) \\\[35:58038 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 444:77690 \\\]"
simple_expect "2: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "3: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "4: 10 6 820 \\(dense\\) \\\[91032 91034 0 91039 0 0 0 0 0 91221 \\\]"
simple_expect "5: 1 9 830 \\(dense\\) \\\[91229 \\\]"
simple_expect "6: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "7: 10 0 1006 \\(dense\\) \\\[105551 105859 106391 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "8: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119386 \\\]"
simple_expect "9: 2 8 1026 \\(sparse\\) \\\[1026:119389 1200:119390 \\\]"
l2g_send "s0 1200 0"
l2g_send "s0 1026 0"
l2g_send "u0"
simple_expect "Number of blocks: 9"
simple_expect "First unused: 1201"
simple_expect "0: 1 9 34 \\(dense\\) \\\[58034 \\\]"
simple_expect "1: 10 0 35 \\(sparse\\) \\\[35:58038 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 444:77690 \\\]"
simple_expect "2: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "3: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "4: 10 6 820 \\(dense\\) \\\[91032 91034 0 91039 0 0 0 0 0 91221 \\\]"
simple_expect "5: 1 9 830 \\(dense\\) \\\[91229 \\\]"
simple_expect "6: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "7: 10 0 1006 \\(dense\\) \\\[105551 105859 106391 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "8: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119386 \\\]"
l2g_send "s0 1026 119389"
l2g_send "u0"
simple_expect "Number of blocks: 10"
simple_expect "First unused: 1201"
simple_expect "0: 1 9 34 \\(dense\\) \\\[58034 \\\]"
simple_expect "1: 10 0 35 \\(sparse\\) \\\[35:58038 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 444:77690 \\\]"
simple_expect "2: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "3: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "4: 10 6 820 \\(dense\\) \\\[91032 91034 0 91039 0 0 0 0 0 91221 \\\]"
simple_expect "5: 1 9 830 \\(dense\\) \\\[91229 \\\]"
simple_expect "6: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "7: 10 0 1006 \\(dense\\) \\\[105551 105859 106391 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "8: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119386 \\\]"
simple_expect "9: 1 9 1026 \\(dense\\) \\\[119389 \\\]"
l2g_send "s0 1126 120389"
l2g_send "u0"
simple_expect "Number of blocks: 11"
simple_expect "First unused: 1201"
simple_expect "0: 1 9 34 \\(dense\\) \\\[58034 \\\]"
simple_expect "1: 10 0 35 \\(sparse\\) \\\[35:58038 222:59570 259:70441 304:72037 329:72239 358:72910 383:73113 389:73612 395:76394 444:77690 \\\]"
simple_expect "2: 10 0 445 \\(sparse\\) \\\[445:77698 474:78372 482:79932 539:80907 618:87514 688:88856 792:89215 793:89216 794:89217 795:89218 \\\]"
simple_expect "3: 1 9 796 \\(dense\\) \\\[89219 \\\]"
simple_expect "4: 10 6 820 \\(dense\\) \\\[91032 91034 0 91039 0 0 0 0 0 91221 \\\]"
simple_expect "5: 1 9 830 \\(dense\\) \\\[91229 \\\]"
simple_expect "6: 10 1 922 \\(sparse\\) \\\[922:93794 923:94866 933:95724 948:97085 992:97960 1001:101613 1002:102864 1003:103254 1004:103935 1005:0 \\\]"
simple_expect "7: 10 0 1006 \\(dense\\) \\\[105551 105859 106391 106784 107002 107212 107324 107469 107571 108471 \\\]"
simple_expect "8: 10 0 1016 \\(dense\\) \\\[108592 109959 111141 111225 113738 116365 117110 117278 117886 119386 \\\]"
simple_expect "9: 1 9 1026 \\(dense\\) \\\[119389 \\\]"
simple_expect "10: 1 9 1126 \\(dense\\) \\\[120389 \\\]"
# Clear 0.
l2g_send "C0"
l2g_send "u0"
simple_expect "Number of blocks: 0"
simple_expect "First unused: 1"
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