[Yaffs] dtest.c tests

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: James Kehl
Date:  
To: yaffs
Subject: [Yaffs] dtest.c tests
Hi all,

How up to date are the tests in yaffs2/direct/dtest.c?

Having tweaked it to compile on mingw (and get a little closer to
working - native O_CREAT is different from yaffs O_CREAT!) I'm now
trying some of the tests in there... and, to start with, the pattern
test is failing.

For example:
pattern check failed on file /flash/yaffs1/f0, size 10000 at position
4608. Got
0 instead of ffffedff
pattern check failed on file /flash/yaffs1/f0, size 10000 at position
4864. Got
0 instead of ffffecff
...
pattern check failed on file /flash/yaffs1/f1, size 10000 at position
4608. Got
0 instead of ffffedff
pattern check failed on file /flash/yaffs1/f1, size 10000 at position
4864. Got
0 instead of ffffecff
...
pattern check failed on file /flash/yaffs1/f2, size 10000 at position 0.
Got 0 i
nstead of ffffffff
pattern check failed on file /flash/yaffs1/f2, size 10000 at position
256. Got 0
instead of fffffeff
pattern check failed on file /flash/yaffs1/f2, size 10000 at position
512. Got 0
instead of fffffdff
pattern check failed on file /flash/yaffs1/f2, size 10000 at position
768. Got 0
instead of fffffcff
pattern check failed on file /flash/yaffs1/f2, size 10000 at position
1024. Got
0 instead of fffffbff
pattern check failed on file /flash/yaffs1/f2, size 10000 at position
1280. Got
0 instead of fffffaff
pattern check failed on file /flash/yaffs1/f2, size 10000 at position
4608. Got
0 instead of ffffedff
pattern check failed on file /flash/yaffs1/f2, size 10000 at position
4864. Got
0 instead of ffffecff
...
pattern check failed on file /flash/yaffs1/f2, size 10000 at position
4608. Got
0 instead of ffffedff
pattern check failed on file /flash/yaffs1/f2, size 10000 at position
4864. Got
0 instead of ffffecff

Nearly the same thing every iteration.

Any ideas?

James