Files
OpenCellular/test/flash.c
Vic Yang 244e7d3f08 Add test for flash_is_erased()
This test checks:
  - flash_is_erased() returns true when flash is erased.
  - flash_is_erased() returns false when the entire flash except one
    byte is erased.

BUG=chrome-os-partner:30281
TEST=Check this test fails without the fix for flash_is_erased(), but
passes with it.
BRANCH=all (if the fix is cherry-picked)

Change-Id: Id4fe5591381cabcdad9bb16ba820acd48e92ba13
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/206897
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2014-07-08 02:14:53 +00:00

12 KiB