vvaltchev / tilck

A Tiny Linux-Compatible Kernel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed exvfs.seek test

vvaltchev opened this issue · comments

[ INFO ] random seed: 2134373407
Buffers differ.
Last offset: 49084
Curr pos: 94598
read ret: 0
Linux buf: ffffffe0 15 ffffffa0 4c fffffffe 7f 00 00 ffffffbc ffffffaa 48 00 00 00 00 00 00 00 00 00 00 00 00 00 fffffff0 5b 12 02 00 00 00 00 00 00 00 00 00 00 00 00 ffffff8a 6e 49 00 00 00 00 00 ffffffc8 15 ffffffa0 4c fffffffe 7f 00 00 10 16 ffffffa0 4c fffffffe 7f 00 00
ExOS buf: 7c 00 00 00 00 00 00 00 40 6e 12 02 00 00 00 00 ffffffc0 ffffffb1 01 00 00 00 00 00 28 2c 12 02 00 00 00 00 ffffffbc ffffffaa 48 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffc0 70 49 00 00 00 00 00 68 00 00 00 00 00 00 00 /home/travis/build/vvaltchev/experimentOs/unittests/exvfs_test.cpp:165: Failure
Failed
[ FAILED ] exvfs.fseek (34 ms)

Fixed with commit c338a4b.
The buffers compared contained garbage since read returned 0. Not really a bug in the FAT code.