Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: disk write testing
From: Björn Stenberg (bjorn_at_haxx.se)
Date: 2002-10-31


Greg Haerr wrote:
> > Björn already wrote the test code to work on a single file
> Cool - where is that?

firmware/test/fat/

Makefile builds 'fat', a test tool used by the 'test.sh' shell script.

The test script assumes a (big) file called disk.img exists in current dir, and that it is allowed to mount it. It is also a bit more chatty than I would have preferred, but it seems there is no way to make dosfsck reliably return a non-zero exit code if it finds an error.

-- 
Björn



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa