diff --git a/img/makefile b/img/makefile index 102e670..6d30614 100644 --- a/img/makefile +++ b/img/makefile @@ -148,6 +148,7 @@ xfs_v4_files_s05k_b4k_n8k.img: $(MKFILEPATTERN) $(TEMP_DIR)/4GiB_plus 0x120008000 0x1000 $(MKFILEPATTERN) $(TEMP_DIR)/4GiB_plus 0x120000000 0x4000 $(MKFILEPATTERN) $(TEMP_DIR)/4GiB_plus 0xffffe000 0x4000 + $(MKFILEPATTERN) $(TEMP_DIR)/4GiB_plus 0x4000 0x4000 # sudo umount $(TEMP_DIR) fallocate -i -o 0 -l 1MiB $@ diff --git a/test/017_#f70_#f70s0_#xfs_#s05k_read_above_4GiB.ref.log b/test/017_#f70_#f70s0_#xfs_#s05k_read_above_4GiB.ref.log new file mode 100644 index 0000000..d900ad2 --- /dev/null +++ b/test/017_#f70_#f70s0_#xfs_#s05k_read_above_4GiB.ref.log @@ -0,0 +1,251 @@ +/> disk_add ../img/xfs_v4_files_s05k_b4k_n8k.img hd0 -c 0 +/hd0/1: xfs + +/> read70 /hd0/1/4GiB_plus 0x3ff4 11 -b +status = 0 success, count = 11 +0000000000000000000000 +/> read70 /hd0/1/4GiB_plus 0x3ff5 11 -b +status = 0 success, count = 11 +0000000000000000000000 +/> read70 /hd0/1/4GiB_plus 0x3ff6 11 -b +status = 0 success, count = 11 +0000000000000000000000 +/> read70 /hd0/1/4GiB_plus 0x3ffe 11 -b +status = 0 success, count = 11 +0000004002400440064008 +/> read70 /hd0/1/4GiB_plus 0x3fff 11 -b +status = 0 success, count = 11 +0000400240044006400840 +/> read70 /hd0/1/4GiB_plus 0x4000 11 -b +status = 0 success, count = 11 +004002400440064008400a +/> read70 /hd0/1/4GiB_plus 0x4001 11 -b +status = 0 success, count = 11 +4002400440064008400a40 + +/> read70 /hd0/1/4GiB_plus 0x7ff4 11 -b +status = 0 success, count = 11 +f47ff67ff87ffa7ffc7ffe +/> read70 /hd0/1/4GiB_plus 0x7ff5 11 -b +status = 0 success, count = 11 +7ff67ff87ffa7ffc7ffe7f +/> read70 /hd0/1/4GiB_plus 0x7ff6 11 -b +status = 0 success, count = 11 +f67ff87ffa7ffc7ffe7f00 +/> read70 /hd0/1/4GiB_plus 0x7ffe 11 -b +status = 0 success, count = 11 +fe7f000000000000000000 +/> read70 /hd0/1/4GiB_plus 0x7fff 11 -b +status = 0 success, count = 11 +7f00000000000000000000 +/> read70 /hd0/1/4GiB_plus 0x8000 11 -b +status = 0 success, count = 11 +0000000000000000000000 +/> read70 /hd0/1/4GiB_plus 0x8001 11 -b +status = 0 success, count = 11 +0000000000000000000000 + +/> read70 /hd0/1/4GiB_plus 0xfffffff4 11 -b +status = 0 success, count = 11 +f4fffffff8fffffffcffff +/> read70 /hd0/1/4GiB_plus 0xfffffff5 11 -b +status = 0 success, count = 11 +fffffff8fffffffcffffff +/> read70 /hd0/1/4GiB_plus 0xfffffff6 11 -b +status = 0 success, count = 11 +fffff8fffffffcffffff00 +/> read70 /hd0/1/4GiB_plus 0xfffffffe 11 -b +status = 0 success, count = 11 +ffff000000000100000008 +/> read70 /hd0/1/4GiB_plus 0xffffffff 11 -b +status = 0 success, count = 11 +ff00000000010000000800 +/> read70 /hd0/1/4GiB_plus 0x100000000 11 -b +status = 0 success, count = 11 +0000000001000000080000 +/> read70 /hd0/1/4GiB_plus 0x100000001 11 -b +status = 0 success, count = 11 +0000000100000008000000 + +/> read70 /hd0/1/4GiB_plus 0x11ffffff4 11 -b +status = 0 success, count = 11 +0000000000000000000000 +/> read70 /hd0/1/4GiB_plus 0x11ffffff5 11 -b +status = 0 success, count = 11 +0000000000000000000000 +/> read70 /hd0/1/4GiB_plus 0x11ffffff6 11 -b +status = 0 success, count = 11 +0000000000000000000000 +/> read70 /hd0/1/4GiB_plus 0x11ffffffe 11 -b +status = 0 success, count = 11 +0000000000200100000008 +/> read70 /hd0/1/4GiB_plus 0x11fffffff 11 -b +status = 0 success, count = 11 +0000000020010000000800 +/> read70 /hd0/1/4GiB_plus 0x120000000 11 -b +status = 0 success, count = 11 +0000002001000000080000 +/> read70 /hd0/1/4GiB_plus 0x120000001 11 -b +status = 0 success, count = 11 +0000200100000008000020 + +/> read70 /hd0/1/4GiB_plus 0x120003ff4 11 -b +status = 0 success, count = 11 +01000000f83f0020010000 +/> read70 /hd0/1/4GiB_plus 0x120003ff5 11 -b +status = 0 success, count = 11 +000000f83f002001000000 +/> read70 /hd0/1/4GiB_plus 0x120003ff6 11 -b +status = 0 success, count = 11 +0000f83f00200100000000 +/> read70 /hd0/1/4GiB_plus 0x120003ffe 11 -b +status = 0 success, count = 11 +0000000000000000000000 +/> read70 /hd0/1/4GiB_plus 0x120003fff 11 -b +status = 0 success, count = 11 +0000000000000000000000 +/> read70 /hd0/1/4GiB_plus 0x120004000 11 -b +status = 0 success, count = 11 +0000000000000000000000 +/> read70 /hd0/1/4GiB_plus 0x120004001 11 -b +status = 0 success, count = 11 +0000000000000000000000 + +/> read70 /hd0/1/4GiB_plus 0x11fffefff 0x0fff -h +status = 0 success, count = 4095 +1f65b79da1bf0dc2a529219184e005cc1453894c4ea996a1307784c7690eb7d2 +/> read70 /hd0/1/4GiB_plus 0x11fffefff 0x1000 -h +status = 0 success, count = 4096 +a99f9ed58079237f7f0275887f0c03a0c9d7d8de4443842297fceea67e423563 +/> read70 /hd0/1/4GiB_plus 0x11fffefff 0x1001 -h +status = 0 success, count = 4097 +3c1b8b31e58d59993be073b6786daa4e8a4965d0633305483400330ab857c612 +/> read70 /hd0/1/4GiB_plus 0x11fffefff 0x2001 -h +status = 0 success, count = 8193 +d22f0c1a9c494cc1a8a1e1a2ccf4057502f2839603632d47c69cc272b8d7ef96 + +/> read70 /hd0/1/4GiB_plus 0x11ffff000 0x0fff -h +status = 0 success, count = 4095 +1f65b79da1bf0dc2a529219184e005cc1453894c4ea996a1307784c7690eb7d2 +/> read70 /hd0/1/4GiB_plus 0x11ffff000 0x1000 -h +status = 0 success, count = 4096 +a99f9ed58079237f7f0275887f0c03a0c9d7d8de4443842297fceea67e423563 +/> read70 /hd0/1/4GiB_plus 0x11ffff000 0x1001 -h +status = 0 success, count = 4097 +3c1b8b31e58d59993be073b6786daa4e8a4965d0633305483400330ab857c612 +/> read70 /hd0/1/4GiB_plus 0x11ffff000 0x2001 -h +status = 0 success, count = 8193 +0f8d363587a204a536ae4e17046f1b946d3716805d181d147968eb2d1efc5c63 + +/> read70 /hd0/1/4GiB_plus 0x11ffff001 0x0fff -h +status = 0 success, count = 4095 +1f65b79da1bf0dc2a529219184e005cc1453894c4ea996a1307784c7690eb7d2 +/> read70 /hd0/1/4GiB_plus 0x11ffff001 0x1000 -h +status = 0 success, count = 4096 +a99f9ed58079237f7f0275887f0c03a0c9d7d8de4443842297fceea67e423563 +/> read70 /hd0/1/4GiB_plus 0x11ffff001 0x1001 -h +status = 0 success, count = 4097 +3c1b8b31e58d59993be073b6786daa4e8a4965d0633305483400330ab857c612 +/> read70 /hd0/1/4GiB_plus 0x11ffff001 0x2001 -h +status = 0 success, count = 8193 +56d243996479770cd97a33c679fb57ff3c354d7785f5d846f53e171bad850389 + +/> read70 /hd0/1/4GiB_plus 0x120002fff 0x0fff -h +status = 0 success, count = 4095 +a126d59a9acb9cd3c977779638d1df609be8bd079b1b57373c87974b73a562ec +/> read70 /hd0/1/4GiB_plus 0x120002fff 0x1000 -h +status = 0 success, count = 4096 +8908a3345950f496b347cba62e3e6f7a2ad8e5fe3e88fd1b057adeb9d1ec3605 +/> read70 /hd0/1/4GiB_plus 0x120002fff 0x1001 -h +status = 0 success, count = 4097 +f78a428aec38eb1d81a138060671b2a450c7b7d4cdda6226db4cd9fcc073bbc3 +/> read70 /hd0/1/4GiB_plus 0x120002fff 0x2001 -h +status = 0 success, count = 8193 +5d3ab86c1605d59550fe26506a8e16ca3e6b46b2a8cf9030a5dc5a00bd728823 + +/> read70 /hd0/1/4GiB_plus 0x120003000 0x0fff -h +status = 0 success, count = 4095 +5077407c7ecc83efb242c96ed6ec3ad86008f253a083b61cc9855a5e6c94c3f5 +/> read70 /hd0/1/4GiB_plus 0x120003000 0x1000 -h +status = 0 success, count = 4096 +c4b223e604370fccf369b50d112194ae61e3b8a8ed4e68c2c7e5223e77641af1 +/> read70 /hd0/1/4GiB_plus 0x120003000 0x1001 -h +status = 0 success, count = 4097 +52ed0a70841f36d356a846b3d42580119c77eedd6f535c934df13f390490997d +/> read70 /hd0/1/4GiB_plus 0x120003000 0x2001 -h +status = 0 success, count = 8193 +e6a7c5df31fce8a8ee6ae52b715b2fca721e6fca63d1605e02be585de8526cf1 + +/> read70 /hd0/1/4GiB_plus 0x120003001 0x0fff -h +status = 0 success, count = 4095 +316310be962fd169a9961c0fc91a98deb30ab7c20fe35d32f4c0f14fa30660d5 +/> read70 /hd0/1/4GiB_plus 0x120003001 0x1000 -h +status = 0 success, count = 4096 +d2167d7611cd9a5ceb27c6540ba7d295d37c45f12da522fd240860c2b1e2a1c3 +/> read70 /hd0/1/4GiB_plus 0x120003001 0x1001 -h +status = 0 success, count = 4097 +1ee3f83fd274d8cf982d6982f62d5ad72bc3c4d94b27232acc06f9674ab726a3 +/> read70 /hd0/1/4GiB_plus 0x120003001 0x2001 -h +status = 0 success, count = 8193 +1adf6f95f4151bb640c60cf530ebfe91b5e268bf78044bd51de755a95bc07d08 + +/> read70 /hd0/1/4GiB_plus 0x120003fff 0x0fff -h +status = 0 success, count = 4095 +1f65b79da1bf0dc2a529219184e005cc1453894c4ea996a1307784c7690eb7d2 +/> read70 /hd0/1/4GiB_plus 0x120003fff 0x1000 -h +status = 0 success, count = 4096 +a99f9ed58079237f7f0275887f0c03a0c9d7d8de4443842297fceea67e423563 +/> read70 /hd0/1/4GiB_plus 0x120003fff 0x1001 -h +status = 0 success, count = 4097 +3c1b8b31e58d59993be073b6786daa4e8a4965d0633305483400330ab857c612 +/> read70 /hd0/1/4GiB_plus 0x120003fff 0x2001 -h +status = 0 success, count = 8193 +b70dd656adf5c5b3434b695386dd07658e667f6f9d0cd34af5a3e8527924964f + +/> read70 /hd0/1/4GiB_plus 0x120004000 0x0fff -h +status = 0 success, count = 4095 +1f65b79da1bf0dc2a529219184e005cc1453894c4ea996a1307784c7690eb7d2 +/> read70 /hd0/1/4GiB_plus 0x120004000 0x1000 -h +status = 0 success, count = 4096 +a99f9ed58079237f7f0275887f0c03a0c9d7d8de4443842297fceea67e423563 +/> read70 /hd0/1/4GiB_plus 0x120004000 0x1001 -h +status = 0 success, count = 4097 +3c1b8b31e58d59993be073b6786daa4e8a4965d0633305483400330ab857c612 +/> read70 /hd0/1/4GiB_plus 0x120004000 0x2001 -h +status = 0 success, count = 8193 +b70dd656adf5c5b3434b695386dd07658e667f6f9d0cd34af5a3e8527924964f + +/> read70 /hd0/1/4GiB_plus 0x120004001 0x0fff -h +status = 0 success, count = 4095 +1f65b79da1bf0dc2a529219184e005cc1453894c4ea996a1307784c7690eb7d2 +/> read70 /hd0/1/4GiB_plus 0x120004001 0x1000 -h +status = 0 success, count = 4096 +a99f9ed58079237f7f0275887f0c03a0c9d7d8de4443842297fceea67e423563 +/> read70 /hd0/1/4GiB_plus 0x120004001 0x1001 -h +status = 0 success, count = 4097 +3c1b8b31e58d59993be073b6786daa4e8a4965d0633305483400330ab857c612 +/> read70 /hd0/1/4GiB_plus 0x120004001 0x2001 -h +status = 0 success, count = 8193 +b70dd656adf5c5b3434b695386dd07658e667f6f9d0cd34af5a3e8527924964f + +# data, hole, data +/> read70 /hd0/1/4GiB_plus 0x120003fff 0x6000 -h +status = 0 success, count = 20481 +f4ab1c2ab5e007814bc19cf58547cf98df1c1c70a1d02f5c417fe2a15b47239f +/> read70 /hd0/1/4GiB_plus 0x120004000 0x6000 -h +status = 0 success, count = 20480 +15b5d85486a41d2c1dfaa3f258e8eecc1047759a976fbd7813d1f9f710fe5a28 +/> read70 /hd0/1/4GiB_plus 0x120004001 0x6000 -h +status = 0 success, count = 20479 +ba9f86ce5ae88d4875fa38ef47f7257ba00e172ed2e2ee1473599de58c80823c + +# hole, data, hole +/> read70 /hd0/1/4GiB_plus 0x11fffefff 0x6000 -h +status = 0 success, count = 24576 +8ffe00fc8d9cb9b2d33865a95917df2cee3f6711c8d6358fd082ed5494851411 +/> read70 /hd0/1/4GiB_plus 0x11ffff000 0x6000 -h +status = 0 success, count = 24576 +83decc07bbadb691fb96ad2bbf155688d96165cdbcad119345d859309ab5267a +/> read70 /hd0/1/4GiB_plus 0x11ffff001 0x6000 -h +status = 0 success, count = 24576 +22a8dca8c78a49cdde0cd804f032e8fdf19a8609b8ad79ac128468a798601315 diff --git a/test/017_#f70_#f70s0_#xfs_#s05k_read_above_4GiB.t b/test/017_#f70_#f70s0_#xfs_#s05k_read_above_4GiB.t new file mode 100644 index 0000000..7d6ac59 --- /dev/null +++ b/test/017_#f70_#f70s0_#xfs_#s05k_read_above_4GiB.t @@ -0,0 +1,96 @@ +disk_add ../img/xfs_v4_files_s05k_b4k_n8k.img hd0 -c 0 + +read70 /hd0/1/4GiB_plus 0x3ff4 11 -b +read70 /hd0/1/4GiB_plus 0x3ff5 11 -b +read70 /hd0/1/4GiB_plus 0x3ff6 11 -b +read70 /hd0/1/4GiB_plus 0x3ffe 11 -b +read70 /hd0/1/4GiB_plus 0x3fff 11 -b +read70 /hd0/1/4GiB_plus 0x4000 11 -b +read70 /hd0/1/4GiB_plus 0x4001 11 -b + +read70 /hd0/1/4GiB_plus 0x7ff4 11 -b +read70 /hd0/1/4GiB_plus 0x7ff5 11 -b +read70 /hd0/1/4GiB_plus 0x7ff6 11 -b +read70 /hd0/1/4GiB_plus 0x7ffe 11 -b +read70 /hd0/1/4GiB_plus 0x7fff 11 -b +read70 /hd0/1/4GiB_plus 0x8000 11 -b +read70 /hd0/1/4GiB_plus 0x8001 11 -b + +read70 /hd0/1/4GiB_plus 0xfffffff4 11 -b +read70 /hd0/1/4GiB_plus 0xfffffff5 11 -b +read70 /hd0/1/4GiB_plus 0xfffffff6 11 -b +read70 /hd0/1/4GiB_plus 0xfffffffe 11 -b +read70 /hd0/1/4GiB_plus 0xffffffff 11 -b +read70 /hd0/1/4GiB_plus 0x100000000 11 -b +read70 /hd0/1/4GiB_plus 0x100000001 11 -b + +read70 /hd0/1/4GiB_plus 0x11ffffff4 11 -b +read70 /hd0/1/4GiB_plus 0x11ffffff5 11 -b +read70 /hd0/1/4GiB_plus 0x11ffffff6 11 -b +read70 /hd0/1/4GiB_plus 0x11ffffffe 11 -b +read70 /hd0/1/4GiB_plus 0x11fffffff 11 -b +read70 /hd0/1/4GiB_plus 0x120000000 11 -b +read70 /hd0/1/4GiB_plus 0x120000001 11 -b + +read70 /hd0/1/4GiB_plus 0x120003ff4 11 -b +read70 /hd0/1/4GiB_plus 0x120003ff5 11 -b +read70 /hd0/1/4GiB_plus 0x120003ff6 11 -b +read70 /hd0/1/4GiB_plus 0x120003ffe 11 -b +read70 /hd0/1/4GiB_plus 0x120003fff 11 -b +read70 /hd0/1/4GiB_plus 0x120004000 11 -b +read70 /hd0/1/4GiB_plus 0x120004001 11 -b + +read70 /hd0/1/4GiB_plus 0x11fffefff 0x0fff -h +read70 /hd0/1/4GiB_plus 0x11fffefff 0x1000 -h +read70 /hd0/1/4GiB_plus 0x11fffefff 0x1001 -h +read70 /hd0/1/4GiB_plus 0x11fffefff 0x2001 -h + +read70 /hd0/1/4GiB_plus 0x11ffff000 0x0fff -h +read70 /hd0/1/4GiB_plus 0x11ffff000 0x1000 -h +read70 /hd0/1/4GiB_plus 0x11ffff000 0x1001 -h +read70 /hd0/1/4GiB_plus 0x11ffff000 0x2001 -h + +read70 /hd0/1/4GiB_plus 0x11ffff001 0x0fff -h +read70 /hd0/1/4GiB_plus 0x11ffff001 0x1000 -h +read70 /hd0/1/4GiB_plus 0x11ffff001 0x1001 -h +read70 /hd0/1/4GiB_plus 0x11ffff001 0x2001 -h + +read70 /hd0/1/4GiB_plus 0x120002fff 0x0fff -h +read70 /hd0/1/4GiB_plus 0x120002fff 0x1000 -h +read70 /hd0/1/4GiB_plus 0x120002fff 0x1001 -h +read70 /hd0/1/4GiB_plus 0x120002fff 0x2001 -h + +read70 /hd0/1/4GiB_plus 0x120003000 0x0fff -h +read70 /hd0/1/4GiB_plus 0x120003000 0x1000 -h +read70 /hd0/1/4GiB_plus 0x120003000 0x1001 -h +read70 /hd0/1/4GiB_plus 0x120003000 0x2001 -h + +read70 /hd0/1/4GiB_plus 0x120003001 0x0fff -h +read70 /hd0/1/4GiB_plus 0x120003001 0x1000 -h +read70 /hd0/1/4GiB_plus 0x120003001 0x1001 -h +read70 /hd0/1/4GiB_plus 0x120003001 0x2001 -h + +read70 /hd0/1/4GiB_plus 0x120003fff 0x0fff -h +read70 /hd0/1/4GiB_plus 0x120003fff 0x1000 -h +read70 /hd0/1/4GiB_plus 0x120003fff 0x1001 -h +read70 /hd0/1/4GiB_plus 0x120003fff 0x2001 -h + +read70 /hd0/1/4GiB_plus 0x120004000 0x0fff -h +read70 /hd0/1/4GiB_plus 0x120004000 0x1000 -h +read70 /hd0/1/4GiB_plus 0x120004000 0x1001 -h +read70 /hd0/1/4GiB_plus 0x120004000 0x2001 -h + +read70 /hd0/1/4GiB_plus 0x120004001 0x0fff -h +read70 /hd0/1/4GiB_plus 0x120004001 0x1000 -h +read70 /hd0/1/4GiB_plus 0x120004001 0x1001 -h +read70 /hd0/1/4GiB_plus 0x120004001 0x2001 -h + +# data, hole, data +read70 /hd0/1/4GiB_plus 0x120003fff 0x6000 -h +read70 /hd0/1/4GiB_plus 0x120004000 0x6000 -h +read70 /hd0/1/4GiB_plus 0x120004001 0x6000 -h + +# hole, data, hole +read70 /hd0/1/4GiB_plus 0x11fffefff 0x6000 -h +read70 /hd0/1/4GiB_plus 0x11ffff000 0x6000 -h +read70 /hd0/1/4GiB_plus 0x11ffff001 0x6000 -h diff --git a/test/makefile b/test/makefile index 5beff83..ed21a4a 100644 --- a/test/makefile +++ b/test/makefile @@ -46,6 +46,6 @@ coverage: ../covpreproc ../umka.lst 0x34 coverage.* > ../umka.cov clean: - rm -f ???_*.out.{log,png} coverage coverage.* + rm -f ???_*.out.{log,png} coverage.* .PHONY: clean coverage