06253fa750
Put real data into file systems before resizing: the test data was randomly generated and is in pairs of files each a power-of-two and power-of-two plus one bytes to hopefully catch block and frag issues. Each test fills (nearly) the file system with test data. If shrinking, it removes enough data so that the shrunken file system will be large enough to accomodate the data. (It's done this way to hopefully ensure some or most of the data will need to be moved when shrinking). The files are then checked with MD5 against the known list. This particular method was chosen to reduce the amount of data checked in while still retaining reproducibility. There are more tests to come; since resize_ffs(8) currently does not support ffsv2 or byteswapped file systems, only a couple token expected-fail test cases for those were added. Also, only 8:1 blocksize:fragsize combinations are currently tested.
19 lines
836 B
Plaintext
19 lines
836 B
Plaintext
MD5 (1024) = eadce85bc513cc7b9b46c027ce07ccdb
|
|
MD5 (1025) = 3cf2a95b3af7377ca81ff08265534334
|
|
MD5 (131072) = 3bf5f82ad5e1f8878caa699548cc0955
|
|
MD5 (131073) = 3423d2f10e3abb20e1ceae4b055f5071
|
|
MD5 (16384) = 933f03c66d4e2da32089ed994c9b34bd
|
|
MD5 (16385) = d0b296920f44ef298880a2d963066026
|
|
MD5 (2048) = fb03fb8916dd57f9648f89a06bb46f06
|
|
MD5 (2049) = f2e489640fc3af5f09352d27717d832e
|
|
MD5 (32768) = d940d6ccf83aeb00e71b9bbeaf860962
|
|
MD5 (32769) = 760e060cefd844c082a10b3bef1408f7
|
|
MD5 (4096) = a04926ee9302f93a322e784a6b044577
|
|
MD5 (4097) = bf13de3963f43a0ffaadb1c782b71372
|
|
MD5 (512) = 991ad794ac386e8ba71d9bb64ab4c979
|
|
MD5 (513) = ede1dc964fe2460dd74c3c87942162ad
|
|
MD5 (65536) = 1ee304df7275d8f88c5c0650536c842c
|
|
MD5 (65537) = 964632a8f1a323e31af6cf1297f88041
|
|
MD5 (8192) = 51ce7789ae9662b2c13195573a447206
|
|
MD5 (8193) = 35d478bc5fba0d96ffb318748d1035c7
|