123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201 |
- File error catched in part 1: 2 ./testfile.bin File_Blocks::File_Blocks::1
- (This is the expected correct behaviour)
- ** Blow up an index and delete some data
- Read test
- Reading all blocks ...
- Index 0: 1000 900 2000
- Index 1: 901 2001
- Index 2: 902 2002
- Index 3: 903 2003
- Index 4: 904 2004
- Index 5: 905 2005
- Index 6: 906 2006
- Index 7: 907 2007
- Index 8: 908 2008
- Index 9: 1909 909 2009
- Index 10: 910 2010
- Index 11: 911 2011
- Index 12: 912 2012
- Index 13: 913 2013
- Index 14: 914 2014
- Index 15: 915 2015
- Index 16: 916 2016
- Index 17: 917 2017
- Index 18: 1818 918 2018
- Index 19: 919 2019
- Index 20: 920 2020
- Index 21: 921 2021
- Index 22: 922 2022
- Index 23: 923 2023
- Index 24: 924 2024
- Index 25: 925 2025
- Index 26: 926 2026
- Index 27: 1727 927 2027
- Index 28: 928 2028
- Index 29: 929 2029
- Index 30: 930 2030
- Index 31: 931 2031
- Index 32: 932 2032
- Index 33: 933 2033
- Index 34: 934 2034
- Index 35: 935 2035
- Index 36: 1636 936 2036
- Index 37: 937 2037
- Index 38: 938 2038
- Index 39: 939 2039
- Index 40: 940 2040
- Index 41: 941 2041
- Index 42: 942 2042
- Index 43: 943 2043
- Index 44: 944 2044
- Index 45: 1545 945 2045
- Index 46: 946 2046
- Index 47: 947 2047
- Index 48: 948 2048 148 248 348 448 548 648 748 848 948 1048 1148 1248 1348 1448 1548 1648 1748 1848 1948 2048 2148 2248 2348 2448 2548 2648 2748 2848 2948 3048 3148 3248 3348 3448 3548 3648 3748 3848 3948 4048 4148 4248 4348 4448 4548 4648 4748 4848 4948 5048 5148 5248 5348 5448 5548 5648 5748 5848 5948 6048 6148 6248 6348 6448 6548 6648 6748 6848 6948 7048 7148 7248 7348 7448 7548 7648 7748 7848 7948 8048 8148 8248 8348 8448 8548 8648 8748 8848 8948 9048 9148 9248 9348 9448 9548 9648 9748 9848 9948 10048 10148 10248 10348 10448 10548 10648 10748 10848 10948 11048 11148 11248 11348 11448 11548 11648 11748 11848 11948 12048 12148 12248 12348 12448 12548 12648 12748 12848 12948 13048 13148 13248 13348 13448 13548 13648 13748 13848 13948 14048 14148 14248 14348 14448 14548 14648 14748 14848 14948 15048 15148 15248 15348 15448 15548 15648 15748 15848 15948 16048 16148 16248 16348 16448 16548 16648 16748 16848 16948 17048 17148 17248 17348 17448 17548 17648 17748 17848 17948 18048 18148 18248 18348 18448 18548 18648 18748 18848 18948 19048 19148 19248 19348 19448 19548 19648 19748 19848 19948 20048
- Index 50: 950 2050 150 350 550 750 950 1150 1350 1550 1750 1950 2150 2350 2550 2750 2950 3150 3350 3550 3750 3950 4150 4350 4550 4750 4950 5150 5350 5550 5750 5950 6150 6350 6550 6750 6950 7150 7350 7550 7750 7950 8150 8350 8550 8750 8950 9150 9350 9550 9750 9950 10150 10350 10550 10750 10950 11150 11350 11550 11750 11950 12150 12350 12550 12750 12950 13150 13350 13550 13750 13950 14150 14350 14550 14750 14950 15150 15350 15550 15750 15950 16150 16350 16550 16750 16950 17150 17350 17550 17750 17950 18150 18350 18550 18750 18950 19150 19350 19550 19750 19950 20150 20350 20550 20750 20950 21150 21350 21550 21750 21950 22150 22350 22550 22750 22950 23150 23350 23550 23750 23950 24150 24350 24550 24750 24950 25150 25350 25550 25750 25950 26150 26350 26550 26750 26950 27150 27350 27550 27750 27950 28150 28350 28550 28750 28950 29150 29350 29550 29750 29950 30150 30350 30550 30750 30950 31150 31350 31550 31750 31950 32150 32350 32550 32750 32950 33150 33350 33550 33750 33950 34150 34350 34550 34750 34950 35150 35350 35550 35750 35950 36150 36350 36550 36750 36950 37150 37350 37550 37750 37950 38150 38350 38550 38750 38950 39150 39350 39550 39750 39950
- Index 51: 951 2051
- Index 52: 952 2052
- Index 53: 953 2053
- Index 54: 1454 954 2054
- Index 55: 955 2055
- Index 56: 956 2056
- Index 57: 957 2057
- Index 58: 958 2058
- Index 59: 959 2059
- Index 60: 960 2060
- Index 61: 961 2061
- Index 62: 962 2062
- Index 63: 1363 963 2063
- Index 64: 964 2064
- Index 65: 965 2065
- Index 66: 966 2066
- Index 67: 967 2067
- Index 68: 968 2068
- Index 69: 969 2069
- Index 70: 970 2070
- Index 71: 971 2071
- Index 72: 1272 972 2072
- Index 73: 973 2073
- Index 74: 974 2074
- Index 75: 975 2075
- Index 76: 976 2076
- Index 77: 977 2077
- Index 78: 978 2078
- Index 79: 979 2079
- Index 80: 980 2080
- Index 81: 1181 981 2081
- Index 82: 982 2082
- Index 83: 983 2083
- Index 84: 984 2084
- Index 85: 985 2085
- Index 86: 986 2086
- Index 87: 987 2087
- Index 88: 988 2088
- Index 89: 989 2089
- Index 90: 1090 990 2090
- Index 91: 991 2091
- Index 92: 992 2092
- Index 93: 993 2093
- Index 94: 994 2094
- Index 95: 995 2095
- Index 96: 996 2096
- Index 97: 997 2097
- Index 98: 998 2098
- Index 99: 1999 999 2099
- ... all blocks read.
- Reading blocks with indices {0, 9, ..., 99} ...
- Index 0: 1000 900 2000
- Index 9: 1909 909 2009
- Index 18: 1818 918 2018
- Index 27: 1727 927 2027
- Index 36: 1636 936 2036
- Index 45: 1545 945 2045
- Index 54: 1454 954 2054
- Index 63: 1363 963 2063
- Index 72: 1272 972 2072
- Index 81: 1181 981 2081
- Index 90: 1090 990 2090
- Index 99: 1999 999 2099
- ... all blocks read.
- Reading blocks with indices {0, 1, ..., 9} ...
- Index 0: 1000 900 2000
- Index 1: 901 2001
- Index 2: 902 2002
- Index 3: 903 2003
- Index 4: 904 2004
- Index 5: 905 2005
- Index 6: 906 2006
- Index 7: 907 2007
- Index 8: 908 2008
- Index 9: 1909 909 2009
- ... all blocks read.
- Reading blocks with indices [0, 10[ ...
- Index 0: 1000 900 2000
- Index 1: 901 2001
- Index 2: 902 2002
- Index 3: 903 2003
- Index 4: 904 2004
- Index 5: 905 2005
- Index 6: 906 2006
- Index 7: 907 2007
- Index 8: 908 2008
- Index 9: 1909 909 2009
- ... all blocks read.
- Reading blocks with indices {90, 91, ..., 99} ...
- Index 90: 1090 990 2090
- Index 91: 991 2091
- Index 92: 992 2092
- Index 93: 993 2093
- Index 94: 994 2094
- Index 95: 995 2095
- Index 96: 996 2096
- Index 97: 997 2097
- Index 98: 998 2098
- Index 99: 1999 999 2099
- ... all blocks read.
- Reading blocks with indices [90, 100[ ...
- Index 90: 1090 990 2090
- Index 91: 991 2091
- Index 92: 992 2092
- Index 93: 993 2093
- Index 94: 994 2094
- Index 95: 995 2095
- Index 96: 996 2096
- Index 97: 997 2097
- Index 98: 998 2098
- Index 99: 1999 999 2099
- ... all blocks read.
- Reading blocks with index 50 ...
- Index 50: 950 2050 150 350 550 750 950 1150 1350 1550 1750 1950 2150 2350 2550 2750 2950 3150 3350 3550 3750 3950 4150 4350 4550 4750 4950 5150 5350 5550 5750 5950 6150 6350 6550 6750 6950 7150 7350 7550 7750 7950 8150 8350 8550 8750 8950 9150 9350 9550 9750 9950 10150 10350 10550 10750 10950 11150 11350 11550 11750 11950 12150 12350 12550 12750 12950 13150 13350 13550 13750 13950 14150 14350 14550 14750 14950 15150 15350 15550 15750 15950 16150 16350 16550 16750 16950 17150 17350 17550 17750 17950 18150 18350 18550 18750 18950 19150 19350 19550 19750 19950 20150 20350 20550 20750 20950 21150 21350 21550 21750 21950 22150 22350 22550 22750 22950 23150 23350 23550 23750 23950 24150 24350 24550 24750 24950 25150 25350 25550 25750 25950 26150 26350 26550 26750 26950 27150 27350 27550 27750 27950 28150 28350 28550 28750 28950 29150 29350 29550 29750 29950 30150 30350 30550 30750 30950 31150 31350 31550 31750 31950 32150 32350 32550 32750 32950 33150 33350 33550 33750 33950 34150 34350 34550 34750 34950 35150 35350 35550 35750 35950 36150 36350 36550 36750 36950 37150 37350 37550 37750 37950 38150 38350 38550 38750 38950 39150 39350 39550 39750 39950
- ... all blocks read.
- Reading blocks with indices [50, 51[ ...
- Index 50: 950 2050 150 350 550 750 950 1150 1350 1550 1750 1950 2150 2350 2550 2750 2950 3150 3350 3550 3750 3950 4150 4350 4550 4750 4950 5150 5350 5550 5750 5950 6150 6350 6550 6750 6950 7150 7350 7550 7750 7950 8150 8350 8550 8750 8950 9150 9350 9550 9750 9950 10150 10350 10550 10750 10950 11150 11350 11550 11750 11950 12150 12350 12550 12750 12950 13150 13350 13550 13750 13950 14150 14350 14550 14750 14950 15150 15350 15550 15750 15950 16150 16350 16550 16750 16950 17150 17350 17550 17750 17950 18150 18350 18550 18750 18950 19150 19350 19550 19750 19950 20150 20350 20550 20750 20950 21150 21350 21550 21750 21950 22150 22350 22550 22750 22950 23150 23350 23550 23750 23950 24150 24350 24550 24750 24950 25150 25350 25550 25750 25950 26150 26350 26550 26750 26950 27150 27350 27550 27750 27950 28150 28350 28550 28750 28950 29150 29350 29550 29750 29950 30150 30350 30550 30750 30950 31150 31350 31550 31750 31950 32150 32350 32550 32750 32950 33150 33350 33550 33750 33950 34150 34350 34550 34750 34950 35150 35350 35550 35750 35950 36150 36350 36550 36750 36950 37150 37350 37550 37750 37950 38150 38350 38550 38750 38950 39150 39350 39550 39750 39950
- ... all blocks read.
- Reading blocks with indices [0,10[\cup [50, 51[\cup [90, 100[ ...
- Index 0: 1000 900 2000
- Index 1: 901 2001
- Index 2: 902 2002
- Index 3: 903 2003
- Index 4: 904 2004
- Index 5: 905 2005
- Index 6: 906 2006
- Index 7: 907 2007
- Index 8: 908 2008
- Index 9: 1909 909 2009
- Index 50: 950 2050 150 350 550 750 950 1150 1350 1550 1750 1950 2150 2350 2550 2750 2950 3150 3350 3550 3750 3950 4150 4350 4550 4750 4950 5150 5350 5550 5750 5950 6150 6350 6550 6750 6950 7150 7350 7550 7750 7950 8150 8350 8550 8750 8950 9150 9350 9550 9750 9950 10150 10350 10550 10750 10950 11150 11350 11550 11750 11950 12150 12350 12550 12750 12950 13150 13350 13550 13750 13950 14150 14350 14550 14750 14950 15150 15350 15550 15750 15950 16150 16350 16550 16750 16950 17150 17350 17550 17750 17950 18150 18350 18550 18750 18950 19150 19350 19550 19750 19950 20150 20350 20550 20750 20950 21150 21350 21550 21750 21950 22150 22350 22550 22750 22950 23150 23350 23550 23750 23950 24150 24350 24550 24750 24950 25150 25350 25550 25750 25950 26150 26350 26550 26750 26950 27150 27350 27550 27750 27950 28150 28350 28550 28750 28950 29150 29350 29550 29750 29950 30150 30350 30550 30750 30950 31150 31350 31550 31750 31950 32150 32350 32550 32750 32950 33150 33350 33550 33750 33950 34150 34350 34550 34750 34950 35150 35350 35550 35750 35950 36150 36350 36550 36750 36950 37150 37350 37550 37750 37950 38150 38350 38550 38750 38950 39150 39350 39550 39750 39950
- Index 90: 1090 990 2090
- Index 91: 991 2091
- Index 92: 992 2092
- Index 93: 993 2093
- Index 94: 994 2094
- Index 95: 995 2095
- Index 96: 996 2096
- Index 97: 997 2097
- Index 98: 998 2098
- Index 99: 1999 999 2099
- ... all blocks read.
- Reading blocks with indices \emptyset ...
- [empty]
- ... all blocks read.
- This block of read tests is complete.
|