Fix tests for reading past EOF.
This commit is contained in:
@@ -108,7 +108,7 @@ fe
|
|||||||
status = 0 success, count = 1
|
status = 0 success, count = 1
|
||||||
ff
|
ff
|
||||||
/> read70 /hd0/1/no_hole 0x10000 1 -b
|
/> read70 /hd0/1/no_hole 0x10000 1 -b
|
||||||
status = 0 success, count = 0
|
status = 6 end_of_file, count = 0
|
||||||
|
|
||||||
/> read70 /hd0/1/no_hole 0x10001 1 -b
|
/> read70 /hd0/1/no_hole 0x10001 1 -b
|
||||||
status = 6 end_of_file, count = 0
|
status = 6 end_of_file, count = 0
|
||||||
@@ -160,16 +160,16 @@ f4fff6fff8fffafffcfffe
|
|||||||
status = 0 success, count = 11
|
status = 0 success, count = 11
|
||||||
fff6fff8fffafffcfffeff
|
fff6fff8fffafffcfffeff
|
||||||
/> read70 /hd0/1/no_hole 0xfff6 11 -b
|
/> read70 /hd0/1/no_hole 0xfff6 11 -b
|
||||||
status = 0 success, count = 10
|
status = 6 end_of_file, count = 10
|
||||||
f6fff8fffafffcfffeff
|
f6fff8fffafffcfffeff
|
||||||
/> read70 /hd0/1/no_hole 0xfffe 11 -b
|
/> read70 /hd0/1/no_hole 0xfffe 11 -b
|
||||||
status = 0 success, count = 2
|
status = 6 end_of_file, count = 2
|
||||||
feff
|
feff
|
||||||
/> read70 /hd0/1/no_hole 0xffff 11 -b
|
/> read70 /hd0/1/no_hole 0xffff 11 -b
|
||||||
status = 0 success, count = 1
|
status = 6 end_of_file, count = 1
|
||||||
ff
|
ff
|
||||||
/> read70 /hd0/1/no_hole 0x10000 11 -b
|
/> read70 /hd0/1/no_hole 0x10000 11 -b
|
||||||
status = 0 success, count = 0
|
status = 6 end_of_file, count = 0
|
||||||
|
|
||||||
/> read70 /hd0/1/no_hole 0x10001 11 -b
|
/> read70 /hd0/1/no_hole 0x10001 11 -b
|
||||||
status = 6 end_of_file, count = 0
|
status = 6 end_of_file, count = 0
|
||||||
|
@@ -218,7 +218,7 @@ status = 0 success, count = 1
|
|||||||
status = 0 success, count = 1
|
status = 0 success, count = 1
|
||||||
00
|
00
|
||||||
/> read70 /hd0/1/hole_end 0x10000 1 -b
|
/> read70 /hd0/1/hole_end 0x10000 1 -b
|
||||||
status = 0 success, count = 0
|
status = 6 end_of_file, count = 0
|
||||||
|
|
||||||
/> read70 /hd0/1/hole_end 0x10001 1 -b
|
/> read70 /hd0/1/hole_end 0x10001 1 -b
|
||||||
status = 6 end_of_file, count = 0
|
status = 6 end_of_file, count = 0
|
||||||
@@ -255,19 +255,19 @@ status = 0 success, count = 11
|
|||||||
status = 0 success, count = 11
|
status = 0 success, count = 11
|
||||||
0000000000000000000000
|
0000000000000000000000
|
||||||
/> read70 /hd0/1/hole_end 0xfff6 11 -b
|
/> read70 /hd0/1/hole_end 0xfff6 11 -b
|
||||||
status = 0 success, count = 10
|
status = 6 end_of_file, count = 10
|
||||||
00000000000000000000
|
00000000000000000000
|
||||||
/> read70 /hd0/1/hole_end 0xfff7 11 -b
|
/> read70 /hd0/1/hole_end 0xfff7 11 -b
|
||||||
status = 0 success, count = 9
|
status = 6 end_of_file, count = 9
|
||||||
000000000000000000
|
000000000000000000
|
||||||
/> read70 /hd0/1/hole_end 0xfffe 11 -b
|
/> read70 /hd0/1/hole_end 0xfffe 11 -b
|
||||||
status = 0 success, count = 2
|
status = 6 end_of_file, count = 2
|
||||||
0000
|
0000
|
||||||
/> read70 /hd0/1/hole_end 0xffff 11 -b
|
/> read70 /hd0/1/hole_end 0xffff 11 -b
|
||||||
status = 0 success, count = 1
|
status = 6 end_of_file, count = 1
|
||||||
00
|
00
|
||||||
/> read70 /hd0/1/hole_end 0x10000 11 -b
|
/> read70 /hd0/1/hole_end 0x10000 11 -b
|
||||||
status = 0 success, count = 0
|
status = 6 end_of_file, count = 0
|
||||||
|
|
||||||
/> read70 /hd0/1/hole_end 0x10001 11 -b
|
/> read70 /hd0/1/hole_end 0x10001 11 -b
|
||||||
status = 6 end_of_file, count = 0
|
status = 6 end_of_file, count = 0
|
||||||
|
@@ -62,16 +62,16 @@ attr: -----
|
|||||||
size: 26
|
size: 26
|
||||||
|
|
||||||
/> read80 /hd0/1/dir0/file00 0 100 -b
|
/> read80 /hd0/1/dir0/file00 0 100 -b
|
||||||
status = 0 success, count = 12
|
status = 6 end_of_file, count = 12
|
||||||
68656c6c6f5f776f726c640a
|
68656c6c6f5f776f726c640a
|
||||||
/> read80 /hd0/1/dir0/file00/ 0 100 -b
|
/> read80 /hd0/1/dir0/file00/ 0 100 -b
|
||||||
status = 0 success, count = 12
|
status = 6 end_of_file, count = 12
|
||||||
68656c6c6f5f776f726c640a
|
68656c6c6f5f776f726c640a
|
||||||
/> read80 /hd0/1/❦❦❦/д❦р22/❦❦ 0 100 -b
|
/> read80 /hd0/1/❦❦❦/д❦р22/❦❦ 0 100 -b
|
||||||
status = 0 success, count = 22
|
status = 6 end_of_file, count = 22
|
||||||
d0bfd180d0b8d0b2d0b5d182e29da6d0bcd0b8d1800a
|
d0bfd180d0b8d0b2d0b5d182e29da6d0bcd0b8d1800a
|
||||||
/> read80 /hd0/1/дир3/файл33 0 100 -b
|
/> read80 /hd0/1/дир3/файл33 0 100 -b
|
||||||
status = 0 success, count = 26
|
status = 6 end_of_file, count = 26
|
||||||
d0bfd180d0b8d0b2d0b5d182e29da6f09f9297d0bcd0b8d1800a
|
d0bfd180d0b8d0b2d0b5d182e29da6f09f9297d0bcd0b8d1800a
|
||||||
|
|
||||||
/> ls70 /hd0/1/ -e utf8
|
/> ls70 /hd0/1/ -e utf8
|
||||||
|
@@ -218,7 +218,7 @@ status = 0 success, count = 1
|
|||||||
status = 0 success, count = 1
|
status = 0 success, count = 1
|
||||||
00
|
00
|
||||||
/> read70 /hd0/1/hole_end 0x10000 1 -b
|
/> read70 /hd0/1/hole_end 0x10000 1 -b
|
||||||
status = 0 success, count = 0
|
status = 6 end_of_file, count = 0
|
||||||
|
|
||||||
/> read70 /hd0/1/hole_end 0x10001 1 -b
|
/> read70 /hd0/1/hole_end 0x10001 1 -b
|
||||||
status = 6 end_of_file, count = 0
|
status = 6 end_of_file, count = 0
|
||||||
@@ -255,19 +255,19 @@ status = 0 success, count = 11
|
|||||||
status = 0 success, count = 11
|
status = 0 success, count = 11
|
||||||
0000000000000000000000
|
0000000000000000000000
|
||||||
/> read70 /hd0/1/hole_end 0xfff6 11 -b
|
/> read70 /hd0/1/hole_end 0xfff6 11 -b
|
||||||
status = 0 success, count = 10
|
status = 6 end_of_file, count = 10
|
||||||
00000000000000000000
|
00000000000000000000
|
||||||
/> read70 /hd0/1/hole_end 0xfff7 11 -b
|
/> read70 /hd0/1/hole_end 0xfff7 11 -b
|
||||||
status = 0 success, count = 9
|
status = 6 end_of_file, count = 9
|
||||||
000000000000000000
|
000000000000000000
|
||||||
/> read70 /hd0/1/hole_end 0xfffe 11 -b
|
/> read70 /hd0/1/hole_end 0xfffe 11 -b
|
||||||
status = 0 success, count = 2
|
status = 6 end_of_file, count = 2
|
||||||
0000
|
0000
|
||||||
/> read70 /hd0/1/hole_end 0xffff 11 -b
|
/> read70 /hd0/1/hole_end 0xffff 11 -b
|
||||||
status = 0 success, count = 1
|
status = 6 end_of_file, count = 1
|
||||||
00
|
00
|
||||||
/> read70 /hd0/1/hole_end 0x10000 11 -b
|
/> read70 /hd0/1/hole_end 0x10000 11 -b
|
||||||
status = 0 success, count = 0
|
status = 6 end_of_file, count = 0
|
||||||
|
|
||||||
/> read70 /hd0/1/hole_end 0x10001 11 -b
|
/> read70 /hd0/1/hole_end 0x10001 11 -b
|
||||||
status = 6 end_of_file, count = 0
|
status = 6 end_of_file, count = 0
|
||||||
|
@@ -108,7 +108,7 @@ fe
|
|||||||
status = 0 success, count = 1
|
status = 0 success, count = 1
|
||||||
ff
|
ff
|
||||||
/> read70 /hd0/1/no_hole 0x10000 1 -b
|
/> read70 /hd0/1/no_hole 0x10000 1 -b
|
||||||
status = 0 success, count = 0
|
status = 6 end_of_file, count = 0
|
||||||
|
|
||||||
/> read70 /hd0/1/no_hole 0x10001 1 -b
|
/> read70 /hd0/1/no_hole 0x10001 1 -b
|
||||||
status = 6 end_of_file, count = 0
|
status = 6 end_of_file, count = 0
|
||||||
@@ -160,16 +160,16 @@ f4fff6fff8fffafffcfffe
|
|||||||
status = 0 success, count = 11
|
status = 0 success, count = 11
|
||||||
fff6fff8fffafffcfffeff
|
fff6fff8fffafffcfffeff
|
||||||
/> read70 /hd0/1/no_hole 0xfff6 11 -b
|
/> read70 /hd0/1/no_hole 0xfff6 11 -b
|
||||||
status = 0 success, count = 10
|
status = 6 end_of_file, count = 10
|
||||||
f6fff8fffafffcfffeff
|
f6fff8fffafffcfffeff
|
||||||
/> read70 /hd0/1/no_hole 0xfffe 11 -b
|
/> read70 /hd0/1/no_hole 0xfffe 11 -b
|
||||||
status = 0 success, count = 2
|
status = 6 end_of_file, count = 2
|
||||||
feff
|
feff
|
||||||
/> read70 /hd0/1/no_hole 0xffff 11 -b
|
/> read70 /hd0/1/no_hole 0xffff 11 -b
|
||||||
status = 0 success, count = 1
|
status = 6 end_of_file, count = 1
|
||||||
ff
|
ff
|
||||||
/> read70 /hd0/1/no_hole 0x10000 11 -b
|
/> read70 /hd0/1/no_hole 0x10000 11 -b
|
||||||
status = 0 success, count = 0
|
status = 6 end_of_file, count = 0
|
||||||
|
|
||||||
/> read70 /hd0/1/no_hole 0x10001 11 -b
|
/> read70 /hd0/1/no_hole 0x10001 11 -b
|
||||||
status = 6 end_of_file, count = 0
|
status = 6 end_of_file, count = 0
|
||||||
|
@@ -230,13 +230,13 @@ b70dd656adf5c5b3434b695386dd07658e667f6f9d0cd34af5a3e8527924964f
|
|||||||
|
|
||||||
# data, hole, data
|
# data, hole, data
|
||||||
/> read70 /hd0/1/4GiB_plus 0x120003fff 0x6000 -h
|
/> read70 /hd0/1/4GiB_plus 0x120003fff 0x6000 -h
|
||||||
status = 0 success, count = 20481
|
status = 6 end_of_file, count = 20481
|
||||||
f4ab1c2ab5e007814bc19cf58547cf98df1c1c70a1d02f5c417fe2a15b47239f
|
f4ab1c2ab5e007814bc19cf58547cf98df1c1c70a1d02f5c417fe2a15b47239f
|
||||||
/> read70 /hd0/1/4GiB_plus 0x120004000 0x6000 -h
|
/> read70 /hd0/1/4GiB_plus 0x120004000 0x6000 -h
|
||||||
status = 0 success, count = 20480
|
status = 6 end_of_file, count = 20480
|
||||||
15b5d85486a41d2c1dfaa3f258e8eecc1047759a976fbd7813d1f9f710fe5a28
|
15b5d85486a41d2c1dfaa3f258e8eecc1047759a976fbd7813d1f9f710fe5a28
|
||||||
/> read70 /hd0/1/4GiB_plus 0x120004001 0x6000 -h
|
/> read70 /hd0/1/4GiB_plus 0x120004001 0x6000 -h
|
||||||
status = 0 success, count = 20479
|
status = 6 end_of_file, count = 20479
|
||||||
ba9f86ce5ae88d4875fa38ef47f7257ba00e172ed2e2ee1473599de58c80823c
|
ba9f86ce5ae88d4875fa38ef47f7257ba00e172ed2e2ee1473599de58c80823c
|
||||||
|
|
||||||
# hole, data, hole
|
# hole, data, hole
|
||||||
|
Reference in New Issue
Block a user