[rtems commit] New fstest to cover RFS bitmaps - fsrfsbitmap01

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Oct 15 15:47:57 UTC 2012


On 10/15/2012 05:34 PM, Krzysztof Mięsowicz wrote:
>
>
>     What is the purpose of this test?  It accesses illegal memory on some
>     targets (e.g. NULL pointer access).
>
> The purpose of this test is to cause fail on loading bitmap in invoking
> functions and to execute ranges which can execute only when bitmap load fails.
> rtems_rfs_bitmap_load_map can fail only when control->buffer is null or when
> buffer request fail. This test is part of my ESA SOCIS project on improving
> RTEMS coverage.

Yes, but in this test we have control == NULL and thus control->buffer is 
undefined.

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.





More information about the devel mailing list